chore(deps): remove unused dependencies

This commit is contained in:
sethburkart123
2024-09-19 17:47:35 +10:00
parent 92c0076e2d
commit 548dcbf34e
2 changed files with 16 additions and 16 deletions
@@ -9,6 +9,7 @@
import type { SettingsList } from "@/svelte-interface/types/SettingsProps"
import { settingsState } from "@/seqta/utils/listeners/SettingsState.ts"
import PickerSwatch from "@/svelte-interface/components/PickerSwatch.svelte"
import hideSensitiveContent from "@/seqta/ui/dev/hideSensitiveContent"
const { showColourPicker } = $props<{ showColourPicker: () => void }>();
</script>
@@ -150,7 +151,7 @@
{/each}
{#if $settingsState.devMode}
<div class="flex items-center justify-between px-4 py-3">
<div class="flex items-center justify-between px-4 py-3 mt-4 pt-[1.75rem]">
<div class="pr-4">
<h2 class="text-sm font-bold">Developer Mode</h2>
<p class="text-xs">Enables developer mode, allowing you to test new features and changes.</p>
@@ -159,5 +160,17 @@
<Switch state={$settingsState.devMode} onChange={(isOn: boolean) => settingsState.devMode = isOn} />
</div>
</div>
<div class="flex items-center justify-between px-4 py-3">
<div class="pr-4">
<h2 class="text-sm font-bold">Sensitive Hider</h2>
<p class="text-xs">Replace sensitive content with mock data</p>
</div>
<div>
<Button
onClick={() => hideSensitiveContent()}
text="Hide"
/>
</div>
</div>
{/if}
</div>