Fix " > base64State is not defined"

This commit is contained in:
Sidharth Vinod
2021-09-17 23:51:26 +05:30
parent 4804046d9f
commit 113c50e255
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
import { codeStore } from '$lib/util/state';
import { onMount } from 'svelte';
import * as mermaid from 'mermaid';
import mermaid from 'mermaid';
let code = '';
let config = '';
+2 -1
View File
@@ -10,11 +10,12 @@
import { initHandler, syncDiagram } from '$lib/util/util';
import { errorStore } from '$lib/util/error';
import { onMount } from 'svelte';
import * as mermaid from 'mermaid';
import mermaid from 'mermaid';
import type monaco from 'monaco-editor';
import type { EditorUpdateEvent, State, Tab } from '$lib/types';
import { base } from '$app/paths';
base64State; // Weird fix for error > base64State is not defined. Treeshaking?
let selectedMode = 'code';
const languageMap = {
code: 'mermaid',