aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Notification/Notification.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-03-01 16:20:51 -0800
committerFuwn <[email protected]>2026-03-01 16:21:02 -0800
commiteae5d24d9e79e59a19d4721caaeaa0ca650ecb33 (patch)
tree1b685bb248e051dfa26d2bfdebe6689402dd93c5 /src/lib/Notification/Notification.svelte
parentchore(tooling): remove legacy eslint and prettier (diff)
downloaddue.moe-eae5d24d9e79e59a19d4721caaeaa0ca650ecb33.tar.xz
due.moe-eae5d24d9e79e59a19d4721caaeaa0ca650ecb33.zip
chore(biome): drop formatter style overrides
Diffstat (limited to 'src/lib/Notification/Notification.svelte')
-rw-r--r--src/lib/Notification/Notification.svelte12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/Notification/Notification.svelte b/src/lib/Notification/Notification.svelte
index 4e6fd2e7..76775ff3 100644
--- a/src/lib/Notification/Notification.svelte
+++ b/src/lib/Notification/Notification.svelte
@@ -1,20 +1,20 @@
<script lang="ts">
-import settings from '$stores/settings';
-import { onMount } from 'svelte';
-import type { Notification } from './store';
+import settings from "$stores/settings";
+import { onMount } from "svelte";
+import type { Notification } from "./store";
export let notification: Notification;
export let onRemove: () => void = () => {
- return;
+ return;
};
export let removed = false;
onMount(() => setTimeout(remove, notification.duration));
const remove = () => {
- removed = true;
+ removed = true;
- setTimeout(onRemove, 150);
+ setTimeout(onRemove, 150);
};
</script>