Add comment to annotate inspiration

This commit is contained in:
Ramon Wenger 2023-05-02 16:47:11 +02:00
parent 0ac4f7b395
commit 9ab9f25d86
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ interface ConfirmDialogOptions {
}
type ResolveReject = (v?: unknown) => void;
// inspired by https://stackoverflow.com/a/69773076/6071058
export default {
confirm(options: ConfirmDialogOptions) {
const mountEl = document.createElement("div");