Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken committed Apr 5, 2024
1 parent 7a532c7 commit 258c476
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions frontend/src/windows/main/pages/Settings/Panel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ $: {
dispatch('settingsChanged', sections);
}
}
</script>

{#if settingsLoaded}
Expand Down Expand Up @@ -91,10 +92,7 @@ $: {
{:else if inter.options.type === 'dropdown'}
<Select.Root
items={inter.options.list}
selected={sections[section.id][inter.id]}
onSelectedChange={(e) => {
sections[section.id][inter.id] = e?.value
}}>
selected={sections[section.id][inter.id]}>
<Select.Trigger class="w-[180px] bg-gray-900 grayscale ml-auto mr-4 border-none">
<Select.Value placeholder={inter.options.default.label}/>
</Select.Trigger>
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"checkJs": true,
"isolatedModules": true,
"paths": {
"$lib": ["frontend/src/assets/panel/lib"],
"$lib/*": ["frontend/src/assets/panel/lib/*"],
"$lib": ["./frontend/src/lib/"],
"$lib/*": ["./frontend/src/lib/*"],
"@": ["./frontend/src/"],
"@/*": ["./frontend/src/*"],
"@root/*": ["./*"]
Expand Down

0 comments on commit 258c476

Please sign in to comment.