svelte_layout.html: fix localStore import name

This commit is contained in:
Alice Gaudon 2021-05-31 11:18:38 +02:00
parent 166d1c1458
commit 4d2dda3615

View File

@ -7,7 +7,7 @@
<script type="module" defer>
import View from '/js/views/%canonicalViewName%.js';
import * as stores from '/js/stores.js';
const localStore = stores[Object.keys(stores)[0]].locals;
const localStore = stores.s.locals;
const localMap = %locals%;
localStore.set((key, args) => {