refactor: replace native confirm() dialogs with shared ConfirmService modal #228

Merged
marcel merged 15 commits from feat/issue-207-confirm-modal-service into main 2026-04-12 14:42:20 +02:00
Showing only changes of commit 84378f11b4 - Show all commits

View File

@@ -52,7 +52,7 @@ export interface ConfirmService {
}
export function createConfirmService(): ConfirmService {
let resolveRef: ((value: boolean) => void) | null = $state(null);
let resolveRef: ((value: boolean) => void) | null = null;
let options: ConfirmOptions | null = $state(null);
return {