about summary refs log tree commit diff
path: root/src/view/shell/desktop-web/index.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-26 12:53:46 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-01-26 12:53:46 -0600
commita3d2db96457d87b7c9a874d699e51dd5f98750c1 (patch)
treec8eedc8ed83468f5c455903f532fe9cdd9bc9134 /src/view/shell/desktop-web/index.tsx
parent751dfb20fd0d316da396e3c4fc53aaaaa8041dd1 (diff)
downloadvoidsky-a3d2db96457d87b7c9a874d699e51dd5f98750c1.tar.zst
Get MVP of web app running
Diffstat (limited to 'src/view/shell/desktop-web/index.tsx')
-rw-r--r--src/view/shell/desktop-web/index.tsx35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/view/shell/desktop-web/index.tsx b/src/view/shell/desktop-web/index.tsx
deleted file mode 100644
index 194954349..000000000
--- a/src/view/shell/desktop-web/index.tsx
+++ /dev/null
@@ -1,35 +0,0 @@
-import React from 'react'
-import {observer} from 'mobx-react-lite'
-import {View, StyleSheet} from 'react-native'
-import {DesktopLeftColumn} from './left-column'
-import {DesktopRightColumn} from './right-column'
-import {useStores} from '../../../state'
-
-export const DesktopWebShell: React.FC = observer(({children}) => {
-  const store = useStores()
-  return (
-    <View style={styles.outerContainer}>
-      {store.session.hasSession ? (
-        <>
-          <DesktopLeftColumn />
-          <View style={styles.innerContainer}>{children}</View>
-          <DesktopRightColumn />
-        </>
-      ) : (
-        <View style={styles.innerContainer}>{children}</View>
-      )}
-    </View>
-  )
-})
-
-const styles = StyleSheet.create({
-  outerContainer: {
-    height: '100%',
-  },
-  innerContainer: {
-    marginLeft: 'auto',
-    marginRight: 'auto',
-    width: '600px',
-    height: '100%',
-  },
-})