Skip to content

Commit

Permalink
Merge pull request #75 from SBrendan/bug/71_live_editor_broken
Browse files Browse the repository at this point in the history
Change initial default Writable type
  • Loading branch information
sidharthv96 authored Dec 18, 2020
2 parents 0f934e6 + eb8163c commit 0ba4beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0ba4beb

Please sign in to comment.