From 81b46581ab79f8f5e9e132e00e5d1b8e9182dd46 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 15 Nov 2020 04:07:33 +0300 Subject: feat: implement authentication --- src/index.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index 5337615..ddde049 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5,6 +5,7 @@ import { Paper } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; import BsuFantomSection from './containers/BsuFantomSection/BsuFantomSection'; import LoginSection from './containers/LoginSection/LoginSection'; +import { AuthProvider } from './hooks/useAuth'; const useStyles = makeStyles(theme => ({ root: { @@ -19,14 +20,16 @@ const App: React.FC = () => { const classes = useStyles(); return ( - - - - - - - - + + + + + + + + + + ); }; -- cgit v1.2.3