diff --git a/client/src/util/misc.ts b/client/src/util/misc.ts index 5e5f91253..fefb8d715 100644 --- a/client/src/util/misc.ts +++ b/client/src/util/misc.ts @@ -191,9 +191,9 @@ export function Sleep(ms: number) { } export function HistorySafeGoBack(history: ReturnType) { - if (history.length === 1) { - history.replace("/"); - } else { - history.goBack(); - } + // if (history.length === 1) { + history.replace("/"); + // } else { + // history.goBack(); + // } }