Fix prettier issue (2)
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
function click() {
|
function click() {
|
||||||
if (errorScreen.urlToRedirect) {
|
if (errorScreen.urlToRedirect) {
|
||||||
if (errorScreen.urlToRedirect === '/login') void connectionManager.logout();
|
if (errorScreen.urlToRedirect === "/login") void connectionManager.logout();
|
||||||
else window.location.replace(errorScreen.urlToRedirect);
|
else window.location.replace(errorScreen.urlToRedirect);
|
||||||
} else if (errorScreen.type === "redirect" && window.history.length > 2) history.back();
|
} else if (errorScreen.type === "redirect" && window.history.length > 2) history.back();
|
||||||
else window.location.reload();
|
else window.location.reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user