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)