small fix

This commit is contained in:
Ruben Fiszel
2023-11-15 14:55:38 +01:00
parent 4c0914c2b1
commit 366b5324ae
@@ -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