small fix

This commit is contained in:
Ruben Fiszel
2023-11-15 14:55:38 +01:00
parent accfb3f307
commit 470e3cf36d
@@ -48,8 +48,7 @@
const breakpoint = writable<EditorBreakpoint>('lg')
async function viewCode(obj: HubItem) {
codeViewerContent = undefined
codeViewerLanguage = undefined
codeViewerContent = ''
codeViewerObj = undefined
getScriptByPath(obj.path).then(({ content, language }) => {
codeViewerContent = content