diff --git a/web/src/lib/state/queue.ts b/web/src/lib/state/queue.ts index c586623d..ee431743 100644 --- a/web/src/lib/state/queue.ts +++ b/web/src/lib/state/queue.ts @@ -58,4 +58,13 @@ export function removeFromOngoingQueue(id: string) { }); } +export function nukeEntireQueue() { + update(() => { + return {}; + }); + updateOngoing(() => { + return {}; + }); +} + export { queue, ongoingQueue };