diff --git a/src/app/state/toast.ts b/src/app/state/toast.ts index c69b79b9a..750176c4a 100644 --- a/src/app/state/toast.ts +++ b/src/app/state/toast.ts @@ -18,10 +18,12 @@ export const toastQueueAtom = atom( (get, set, notif) => { if (notif === null) return; // no-op guard set(baseAtom, [...get(baseAtom), notif]); - } + }, ); -export const dismissToastAtom = atom( - null, - (get, set, id) => set(baseAtom, get(baseAtom).filter((t) => t.id !== id)) +export const dismissToastAtom = atom(null, (get, set, id) => + set( + baseAtom, + get(baseAtom).filter((t) => t.id !== id), + ), );