import { ApolloProvider } from '@apollo/client' import React from 'react' import { BrowserRouter as Router, Route, Switch } from 'react-router-dom' import client from '../apollo' import Context from '../context' import { useUser } from '../hooks' import Authorize from './Authorize' import CreateForm from './CreateForm' import DoForm from './DoForm' import Login from './Login' import UserPage from './UserPage' const App: React.FC = () => { const userContext = useUser() return (
) } export default App