fix rules popup having timeout in dev mode
This commit is contained in:
parent
cb0c453279
commit
b8112d66db
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user