Skip to content

Commit 128aeb3

Browse files
author
Ravi Singh
committed
fix: remove window.location.href reload on 401 (iOS keyboard fix)
1 parent 59807dc commit 128aeb3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

pwa/client/src/utils/api.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ async function request(method, path, body) {
3131

3232
if (res.status === 401) {
3333
clearToken();
34-
window.location.href = '/login';
3534
throw new Error('Unauthorized');
3635
}
3736

0 commit comments

Comments
 (0)