fix rules popup having timeout in dev mode

This commit is contained in:
bytedream 2025-06-03 22:47:39 +02:00
parent cb0c453279
commit b8112d66db

View File

@ -8,7 +8,7 @@
let modalElem: HTMLDialogElement;
let modalTimer = $state<ReturnType<typeof setInterval> | null>(null);
let modalSecondsOpen = $state(0);
let modalSecondsOpen = $state(import.meta.env.PROD ? 0 : modalTimeoutSeconds);
rulesPopupState.listen((value) => {
if (value == 'open') {