feat: introduce login page

This commit is contained in:
Ali BARIN
2022-03-07 18:51:57 +01:00
parent bb36748764
commit f5f7a998ca
16 changed files with 235 additions and 36 deletions

View File

@@ -0,0 +1,7 @@
import { getItem } from 'helpers/storage';
export default function useAuthentication(): boolean {
const token = getItem('token');
return Boolean(token);
}