Updated dependencies
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, { useEffect, useContext, useRef } from 'react';
|
||||
import { Link, Redirect } from 'react-router-dom';
|
||||
import { Link, Navigate } from 'react-router-dom';
|
||||
|
||||
import ApplyToBody from '../utilities/apply-to-body';
|
||||
|
||||
@@ -13,7 +13,7 @@ const Account = props => {
|
||||
|
||||
//misplaced?
|
||||
if (!authTokens.accessToken) {
|
||||
return <Redirect to='/' />;
|
||||
return <Navigate to='/' />;
|
||||
}
|
||||
|
||||
//refs
|
||||
|
||||
Reference in New Issue
Block a user