From 66a0f8e848342bb5e5ceda36f5095f3ad2b0de29 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Sun, 18 Dec 2022 17:28:28 -0600
Subject: Add WIP 'report post' modal

---
 src/view/com/modals/Modal.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src/view/com/modals/Modal.tsx')

diff --git a/src/view/com/modals/Modal.tsx b/src/view/com/modals/Modal.tsx
index 610d30eba..e1d2eacaf 100644
--- a/src/view/com/modals/Modal.tsx
+++ b/src/view/com/modals/Modal.tsx
@@ -12,6 +12,7 @@ import * as EditProfileModal from './EditProfile'
 import * as CreateSceneModal from './CreateScene'
 import * as InviteToSceneModal from './InviteToScene'
 import * as ServerInputModal from './ServerInput'
+import * as ReportPostModal from './ReportPost'
 
 const CLOSED_SNAPPOINTS = ['10%']
 
@@ -70,6 +71,13 @@ export const Modal = observer(function Modal() {
         {...(store.shell.activeModal as models.ServerInputModal)}
       />
     )
+  } else if (store.shell.activeModal?.name === 'report-post') {
+    snapPoints = ReportPostModal.snapPoints
+    element = (
+      <ReportPostModal.Component
+        {...(store.shell.activeModal as models.ReportPostModal)}
+      />
+    )
   } else {
     element = <View />
   }
-- 
cgit 1.4.1

