Started working on the admin panel

This commit is contained in:
2021-01-31 12:07:03 +11:00
parent 71f3f8e370
commit be89c2d8d9
14 changed files with 202 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { useCookies } from 'react-cookie';
import DeleteAccount from '../panels/delete-account';
const Account = props => {
const [cookies, setCookie] = useCookies(['loggedin']);
const [cookies, setCookie] = useCookies();
//check for logged in redirect
if (!cookies['loggedin']) {