Change default Writable type

This commit is contained in:
SEILLER Brendan
2020-12-18 13:27:16 +01:00
parent 0f934e6263
commit eb8163c1fc
+1 -1
View File
@@ -4,7 +4,7 @@ import mermaid from '@mermaid';
import { Base64 } from 'js-base64';
import { push, pop, replace } from 'svelte-spa-router';
export const codeStore = writable(undefined);
export const codeStore = writable({});
export const fromUrl = (data) => {
let code;
let state;