const baseUrl = localStorage.getItem(cons.secretKey.BASE_URL);
auth.loginWithToken(baseUrl, loginToken)
.then(() => {
- window.location.replace('/');
+ const { href } = window.location;
+ window.location.replace(href.slice(0, href.indexOf('?')));
})
.catch((error) => {
changeProcess(null);
</form>
</div>
- <div className="flex--center">
+ <div style={{ flexDirection: 'column' }} className="flex--center">
<Text variant="b2">
{`${(type === 'login' ? 'Don\'t have' : 'Already have')} an account?`}
<button
{ type === 'login' ? ' Register' : ' Login' }
</button>
</Text>
+ <span style={{ marginTop: 'var(--sp-extra-tight)' }}>
+ <Text variant="b3">v1.3.2</Text>
+ </span>
</div>
</StaticWrapper>
</>