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

refactored

This commit is contained in:
Fedor Katurov 2020-08-03 14:42:54 +07:00
parent 43968f14b2
commit 16700432d2
3 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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(
() => () =>

View file

@ -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) {