outsource Token namespace in seperate file to release dependency to GlobalInfos

This commit is contained in:
2021-05-08 15:19:13 +02:00
parent 0797632c44
commit b13a10f37b
5 changed files with 138 additions and 131 deletions

View File

@ -2,7 +2,7 @@ import React from 'react';
import {Button} from '../../elements/GPElements/Button';
import style from './AuthenticationPage.module.css';
import {addKeyHandler, removeKeyHandler} from '../../utils/ShortkeyHandler';
import {token} from '../../utils/Api';
import {token} from '../../utils/TokenHandler';
import {faTimes} from '@fortawesome/free-solid-svg-icons';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';