diff --git a/src/main.js b/src/main.js index f556cb7..57e0ac8 100644 --- a/src/main.js +++ b/src/main.js @@ -7,9 +7,11 @@ import Icons from 'uikit/dist/js/uikit-icons.min.js'; import UIkit from 'uikit/dist/js/uikit.min.js'; UIkit.use(Icons); -import "prismjs/components/prism-json"; +/* eslint-disable */ import Prism from "prismjs"; +import "prismjs/components/prism-json"; Prism.highlightAll(); +/* eslint-enable */ import { PageState } from "./PageState.js"; import { diff --git a/src/pageUtils.js b/src/pageUtils.js index cdee964..e7f4414 100644 --- a/src/pageUtils.js +++ b/src/pageUtils.js @@ -34,6 +34,7 @@ export async function prePageChecks() { await prePageChecksReal(); } catch (e) { console.log("OHNO", e) + setErrorText(e.message); return false; } return true;