Skip to content

Commit

Permalink
Fixed Monaco file icons in build
Browse files Browse the repository at this point in the history
  • Loading branch information
hopperelec committed May 31, 2024
1 parent 88a89c4 commit 1190a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/monaco-viewer/MonacoFilename.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FILE_ICONS, type MonacoFile } from "./monaco-types";
export let file: MonacoFile;
</script>

<div style:--icon={`url(${FILE_ICONS[file.type]})`}>
<div style:--icon={`url("${FILE_ICONS[file.type]}")`}>
<h4>{file.name}</h4>
</div>

Expand Down

0 comments on commit 1190a6d

Please sign in to comment.