1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed typos

This commit is contained in:
Fedor Katurov 2020-07-23 18:37:52 +07:00
parent 17807b9c8b
commit 2388a7e20e
2 changed files with 1 additions and 3 deletions

View file

@ -4,7 +4,7 @@ export const API = {
BASE: process.env.API_HOST,
USER: {
LOGIN: '/user/login',
VKONTAKTE_LOGIN: `${process.env.API_HOST}/user/vkontakte`,
VKONTAKTE_LOGIN: `${process.env.API_HOST}/oauth/vkontakte/redirect/login`,
ME: '/user/',
PROFILE: (username: string) => `/user/user/${username}/profile`,
MESSAGES: (username: string) => `/user/user/${username}/messages`,

View file

@ -32,8 +32,6 @@ const LoginDialogUnconnected: FC<IProps> = ({
userSetLoginError,
modalShowDialog,
}) => {
console.log({ modalShowDialog, MODAL_ACTIONS });
const [username, setUserName] = useState('');
const [password, setPassword] = useState('');