diff --git a/src/pages/Main/index.tsx b/src/pages/Main/index.tsx deleted file mode 100644 index 1d18cd3..0000000 --- a/src/pages/Main/index.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { Switch, Route, useRouteMatch } from 'react-router-dom'; -import { useReactiveVar } from '@apollo/client'; -import { roleVar } from '../../graphql/state'; -import { Navbar, Sidebar } from '../../components'; -import { Project } from '..'; - -const Main = () => { - const match = useRouteMatch(); - const role = useReactiveVar(roleVar); - - return ( - <> - - {role !== 'admin' && } - - - - - - - - - - ); -}; - -export default Main;