chore(web): remove unnused property (#10820)

This commit is contained in:
Jason Rasmussen
2024-07-03 16:41:17 -04:00
committed by GitHub
parent 4a481acca6
commit 04f0ac1aad
14 changed files with 3 additions and 26 deletions

View File

@@ -6,7 +6,6 @@ type DialogActions = {
};
type DialogOptions = {
id?: string;
title?: string;
prompt?: string;
confirmText?: string;
@@ -22,7 +21,7 @@ function createDialogWrapper() {
const dialog = writable<Dialog | undefined>();
async function show(options: DialogOptions) {
return new Promise((resolve) => {
return new Promise<boolean>((resolve) => {
const newDialog: Dialog = {
...options,
onConfirm: () => {