mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 00:20:47 +09:00
chore(web): remove unnused property (#10820)
This commit is contained in:
@@ -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: () => {
|
||||
|
||||
Reference in New Issue
Block a user