From e7e4f15234566cd3f7e63dbe315e83179fd89613 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 6 Mar 2024 22:01:13 +0800 Subject: [PATCH] Need extra check on domain --- src/components/report-modal.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/report-modal.jsx b/src/components/report-modal.jsx index 6e74c24..90b1b2d 100644 --- a/src/components/report-modal.jsx +++ b/src/components/report-modal.jsx @@ -232,8 +232,8 @@ function ReportModal({ account, post, onClose }) { disabled={uiState === 'loading'} /> -
- {domain !== currentDomain && ( + {!!domain && domain !== currentDomain && ( +

- )} -
+
+ )}