- Rework navbar + user pages
This commit is contained in:
Daniel Mason 2021-04-07 21:31:34 +12:00
parent fb9ebef49c
commit 3f3296e649
17 changed files with 132 additions and 73 deletions

View file

@ -1,8 +1,6 @@
import axios from 'axios';
import jwt from 'jwt-decode'
import { toast } from 'react-toastify';
import AuthContext from '../Contexts/AuthContext';
import { useContext } from 'react';
function getHeaders() {
const user = JSON.parse(localStorage.getItem('user'));