about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-14 13:14:56 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-03-14 13:14:56 -0500
commitb838c786e02d676209c2e41c2d0113c932d8456d (patch)
tree7c3f9874ac2f10db276cf43ae612c227f9814b4c /src
parent1b7292e1dbdbb75ed60cd768d5fe8ad946722592 (diff)
downloadvoidsky-b838c786e02d676209c2e41c2d0113c932d8456d.tar.zst
Delete dead code
Diffstat (limited to 'src')
-rw-r--r--src/view/com/modals/WebModal.tsx20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/view/com/modals/WebModal.tsx b/src/view/com/modals/WebModal.tsx
deleted file mode 100644
index fed2fae91..000000000
--- a/src/view/com/modals/WebModal.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Use this for the Web build only.
- * It's intended to replace the BottomSheet.
- *
- * Note: the dataSet properties are used to leverage custom CSS in public/index.html
- */
-import React from 'react'
-// @ts-ignore no declarations available -prf
-import {TouchableWithoutFeedback, View} from 'react-native-web'
-
-type Props = {onClose: () => void}
-export const Modal: React.FC<Props> = ({onClose, children}) => {
-  return (
-    <TouchableWithoutFeedback onPress={onClose}>
-      <View dataSet={{'modal-overlay': 1}}>
-        <View dataSet={{'modal-container': 1}}>{children}</View>
-      </View>
-    </TouchableWithoutFeedback>
-  )
-}