From 15ac0fb30341c7ca112952464b1fc19aa82f1c59 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Sat, 30 Jul 2022 16:59:10 -0400 Subject: [PATCH] fix: modal src should not be null See: https://akkoma.dev/FoundKeyGang/FoundKey/pulls/40#issuecomment-1419 --- packages/client/src/components/ui/modal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/ui/modal.vue b/packages/client/src/components/ui/modal.vue index 9f3618367..2305a0279 100644 --- a/packages/client/src/components/ui/modal.vue +++ b/packages/client/src/components/ui/modal.vue @@ -31,7 +31,7 @@ type ModalTypes = 'popup' | 'dialog' | 'dialog:top' | 'drawer'; const props = withDefaults(defineProps<{ manualShowing?: boolean | null; anchor?: { x: string; y: string; }; - src?: HTMLElement | null; + src?: HTMLElement; preferType?: ModalTypes | 'auto'; zPriority?: 'low' | 'middle' | 'high'; noOverlap?: boolean;