From 041bfa22a99d8d6b4b17ad36c983e9e2b2444918 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Mon, 25 Jul 2022 23:08:24 -0500
Subject: Implement Web versions of the bottom sheet, toast, and progress
 circle

---
 src/view/com/post-thread/PostThread.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/view/com/post-thread/PostThread.tsx')

diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx
index 784cc39d2..6191875c7 100644
--- a/src/view/com/post-thread/PostThread.tsx
+++ b/src/view/com/post-thread/PostThread.tsx
@@ -9,7 +9,7 @@ import {
 } from '../../../state/models/post-thread-view'
 import {useStores} from '../../../state'
 import {PostThreadItem} from './PostThreadItem'
-import {ShareBottomSheet} from '../sheets/SharePost'
+import {ShareModal} from '../modals/SharePost'
 import {s} from '../../lib/styles'
 
 const UPDATE_DELAY = 2e3 // wait 2s before refetching the thread for updates
@@ -24,7 +24,7 @@ export const PostThread = observer(function PostThread({
   const store = useStores()
   const [view, setView] = useState<PostThreadViewModel | undefined>()
   const [lastUpdate, setLastUpdate] = useState<number>(Date.now())
-  const shareSheetRef = useRef<{open: (uri: string) => void}>()
+  const shareSheetRef = useRef<{open: (_uri: string) => void}>()
 
   useEffect(() => {
     if (view?.params.uri === uri) {
@@ -94,7 +94,7 @@ export const PostThread = observer(function PostThread({
         refreshing={view.isRefreshing}
         onRefresh={onRefresh}
       />
-      <ShareBottomSheet ref={shareSheetRef} />
+      <ShareModal ref={shareSheetRef} />
     </View>
   )
 })
-- 
cgit 1.4.1

