Merge pull request #75 from SBrendan/bug/71_live_editor_broken

Change initial default Writable type
This commit is contained in:
Sidharth Vinod
2020-12-18 21:25:41 +05:30
committed by GitHub
+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;