Skip to content

Commit

Permalink
add back constructor for dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Sep 28, 2024
1 parent f6996d5 commit 5bbad7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/coreapps/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ class Dialog extends App {
}
`;

constructor() {
super();
}

alert(message: string, title = "Alert") {
const dialog = this as object;
(dialog as any).title = "";
Expand Down

0 comments on commit 5bbad7d

Please sign in to comment.