fix: prettier formatting in toast.ts (trailing commas)

Fixes CI Prettier check failure on commit 4876c2e4.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 22:01:54 -04:00
parent c5fbc20394
commit 517e992dec
+6 -4
View File
@@ -18,10 +18,12 @@ export const toastQueueAtom = atom<ToastNotif[], [ToastNotif | null], void>(
(get, set, notif) => {
if (notif === null) return; // no-op guard
set(baseAtom, [...get(baseAtom), notif]);
}
},
);
export const dismissToastAtom = atom<null, [string], void>(
null,
(get, set, id) => set(baseAtom, get(baseAtom).filter((t) => t.id !== id))
export const dismissToastAtom = atom<null, [string], void>(null, (get, set, id) =>
set(
baseAtom,
get(baseAtom).filter((t) => t.id !== id),
),
);