From 05055e184dbd1d103fc8bfc74ba86f0757937b14 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Tue, 1 Nov 2022 14:00:58 -0500
Subject: Remove old tabs selector modal

---
 src/view/com/modals/Modal.tsx | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

(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 f3a69d2af..6282b5af1 100644
--- a/src/view/com/modals/Modal.tsx
+++ b/src/view/com/modals/Modal.tsx
@@ -7,7 +7,6 @@ import {createCustomBackdrop} from '../util/BottomSheetCustomBackdrop'
 
 import * as models from '../../../state/models/shell'
 
-import * as TabsSelectorModal from './TabsSelector'
 import * as LinkActionsModal from './LinkActions'
 import * as SharePostModal from './SharePost.native'
 import * as ComposePostModal from './ComposePost'
@@ -38,14 +37,7 @@ export const Modal = observer(function Modal() {
 
   let snapPoints: (string | number)[] = CLOSED_SNAPPOINTS
   let element
-  if (store.shell.activeModal?.name === 'tabs-selector') {
-    snapPoints = TabsSelectorModal.snapPoints
-    element = (
-      <TabsSelectorModal.Component
-        {...(store.shell.activeModal as models.TabsSelectorModel)}
-      />
-    )
-  } else if (store.shell.activeModal?.name === 'link-actions') {
+  if (store.shell.activeModal?.name === 'link-actions') {
     snapPoints = LinkActionsModal.snapPoints
     element = (
       <LinkActionsModal.Component
-- 
cgit 1.4.1

