feat: introduce login page
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { getItem } from 'helpers/storage';
|
||||
|
||||
export default function useAuthentication(): boolean {
|
||||
const token = getItem('token');
|
||||
|
||||
return Boolean(token);
|
||||
}
|
||||
Reference in New Issue
Block a user