Remove mindmap

This commit is contained in:
Sidharth Vinod
2023-02-16 15:56:30 +05:30
parent 6ece0a8a94
commit 20358bc254
-2
View File
@@ -3,7 +3,6 @@ import { analytics, initAnalytics } from './stats';
import { loadDataFromUrl } from './fileLoaders/loader';
import { initLoading } from './loading';
import { applyMigrations } from './migrations';
import { init } from './mermaid';
export const loadStateFromURL = (): void => {
loadState(window.location.hash.slice(1));
@@ -17,7 +16,6 @@ export const syncDiagram = (): void => {
export const initHandler = async (): Promise<void> => {
applyMigrations();
await initLoading('Loading Mermaid...', init());
loadStateFromURL();
await initLoading('Loading Gist...', loadDataFromUrl().catch(console.error));
syncDiagram();