mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-13 08:11:11 +00:00
add follow function and make small style changes
This commit is contained in:
parent
79e1f4ebe0
commit
9a9724d024
8 changed files with 57 additions and 19 deletions
|
@ -10,7 +10,6 @@ const api = axios.create({
|
|||
|
||||
// get token from local storage
|
||||
const getAccessToken = () => localStorage.getItem("token");
|
||||
const getRefreshToken = () => localStorage.getItem("refreshToken");
|
||||
|
||||
//redirects the page to the login and back
|
||||
export const redirectToLogin = (returnToPage = true) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue