mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
refactored
This commit is contained in:
parent
43968f14b2
commit
16700432d2
3 changed files with 3 additions and 3 deletions
|
@ -139,7 +139,7 @@ const LoginDialogUnconnected: FC<IProps> = ({
|
||||||
onClick={onRestoreRequest}
|
onClick={onRestoreRequest}
|
||||||
className={styles.forgot_button}
|
className={styles.forgot_button}
|
||||||
>
|
>
|
||||||
Вспомнить парольF
|
Вспомнить пароль
|
||||||
</Button>
|
</Button>
|
||||||
</Group>
|
</Group>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -56,7 +56,7 @@ const RestoreRequestDialogUnconnected: FC<IProps> = ({
|
||||||
[]
|
[]
|
||||||
);
|
);
|
||||||
|
|
||||||
const header = useMemo(() => <div className={styles.illustration}>ILLUSTRATE ME</div>, []);
|
const header = useMemo(() => <div className={styles.illustration} />, []);
|
||||||
|
|
||||||
const overlay = useMemo(
|
const overlay = useMemo(
|
||||||
() =>
|
() =>
|
||||||
|
|
|
@ -464,8 +464,8 @@ function* loginWithSocial({ token }: ReturnType<typeof authLoginWithSocial>) {
|
||||||
|
|
||||||
if (data.token) {
|
if (data.token) {
|
||||||
yield put(authSetToken(data.token));
|
yield put(authSetToken(data.token));
|
||||||
yield put(modalSetShown(false));
|
|
||||||
yield call(refreshUser);
|
yield call(refreshUser);
|
||||||
|
yield put(modalSetShown(false));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue