mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed typos
This commit is contained in:
parent
17807b9c8b
commit
2388a7e20e
2 changed files with 1 additions and 3 deletions
|
@ -4,7 +4,7 @@ export const API = {
|
||||||
BASE: process.env.API_HOST,
|
BASE: process.env.API_HOST,
|
||||||
USER: {
|
USER: {
|
||||||
LOGIN: '/user/login',
|
LOGIN: '/user/login',
|
||||||
VKONTAKTE_LOGIN: `${process.env.API_HOST}/user/vkontakte`,
|
VKONTAKTE_LOGIN: `${process.env.API_HOST}/oauth/vkontakte/redirect/login`,
|
||||||
ME: '/user/',
|
ME: '/user/',
|
||||||
PROFILE: (username: string) => `/user/user/${username}/profile`,
|
PROFILE: (username: string) => `/user/user/${username}/profile`,
|
||||||
MESSAGES: (username: string) => `/user/user/${username}/messages`,
|
MESSAGES: (username: string) => `/user/user/${username}/messages`,
|
||||||
|
|
|
@ -32,8 +32,6 @@ const LoginDialogUnconnected: FC<IProps> = ({
|
||||||
userSetLoginError,
|
userSetLoginError,
|
||||||
modalShowDialog,
|
modalShowDialog,
|
||||||
}) => {
|
}) => {
|
||||||
console.log({ modalShowDialog, MODAL_ACTIONS });
|
|
||||||
|
|
||||||
const [username, setUserName] = useState('');
|
const [username, setUserName] = useState('');
|
||||||
const [password, setPassword] = useState('');
|
const [password, setPassword] = useState('');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue