From d29ee9f0e02a33736faa746f35a852f2ab153eca Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 10 Jan 2025 14:57:03 +0000 Subject: [PATCH] fix types --- src/components/dms/ReportDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/dms/ReportDialog.tsx b/src/components/dms/ReportDialog.tsx index 322b302e5f..745896202d 100644 --- a/src/components/dms/ReportDialog.tsx +++ b/src/components/dms/ReportDialog.tsx @@ -37,7 +37,7 @@ let ReportDialog = ({ }: { control: Dialog.DialogControlProps params: ReportDialogParams - showConversationWarning: boolean + showConversationWarning?: boolean }): React.ReactNode => { const {_} = useLingui() return ( @@ -61,7 +61,7 @@ function DialogInner({ showConversationWarning, }: { params: ReportDialogParams - showConversationWarning: boolean + showConversationWarning?: boolean }) { const [reportOption, setReportOption] = useState(null)