feat: add account warn
This commit is contained in:
11
src/lib/Others/AccountWarningComp.svelte
Normal file
11
src/lib/Others/AccountWarningComp.svelte
Normal file
@@ -0,0 +1,11 @@
|
||||
<script lang="ts">
|
||||
import { AlertOctagon } from "lucide-svelte";
|
||||
import { alertMd } from "src/ts/alert";
|
||||
import { AccountWarning } from "src/ts/storage/accountStorage";
|
||||
|
||||
</script>
|
||||
<button class="absolute top-2 right-2 z-10 text-white bg-red-800 hover:bg-red-600 p-2 rounded" on:click={() =>{
|
||||
alertMd($AccountWarning)
|
||||
}}>
|
||||
<AlertOctagon size={24} />
|
||||
</button>
|
||||
Reference in New Issue
Block a user