about summary refs log tree commit diff
path: root/src/view/com/modals/report/Modal.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-12-28 15:46:37 -0800
committerGitHub <noreply@github.com>2023-12-28 15:46:37 -0800
commit0d960c58ba7dbd9ac72aa5e8229be6ad91a49b7c (patch)
tree9e2a1d281f8476e69eb616d450c30483306ee723 /src/view/com/modals/report/Modal.tsx
parent705f9b61efebe8ca0d044f1a53586b6fe4614195 (diff)
downloadvoidsky-0d960c58ba7dbd9ac72aa5e8229be6ad91a49b7c.tar.zst
Disable BlurView on android (#2351)
* A couple of small tweaks

* Force the UI to re-render by setting a key

* Disable to blurview on android

* Remove hackfix
Diffstat (limited to 'src/view/com/modals/report/Modal.tsx')
-rw-r--r--src/view/com/modals/report/Modal.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/modals/report/Modal.tsx b/src/view/com/modals/report/Modal.tsx
index 60c3f06b7..afd0d417d 100644
--- a/src/view/com/modals/report/Modal.tsx
+++ b/src/view/com/modals/report/Modal.tsx
@@ -44,9 +44,9 @@ export function Component(content: ReportComponentProps) {
   const {isMobile} = useWebMediaQueries()
   const [isProcessing, setIsProcessing] = useState(false)
   const [showDetailsInput, setShowDetailsInput] = useState(false)
-  const [error, setError] = useState<string>()
-  const [issue, setIssue] = useState<string>()
-  const [details, setDetails] = useState<string>()
+  const [error, setError] = useState<string>('')
+  const [issue, setIssue] = useState<string>('')
+  const [details, setDetails] = useState<string>('')
   const isAccountReport = 'did' in content
   const subjectKey = isAccountReport ? content.did : content.uri
   const atUri = useMemo(