Uncomment line in Session.clear()

pull/500/head
Rick Carlino 2017-10-13 08:52:43 -05:00
parent 213b0b762d
commit ceaeb87454
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export namespace Session {
export function clear(): never {
localStorage.clear();
sessionStorage.clear();
// window.location.href = window.location.origin;
window.location.href = window.location.origin || "/";
throw new Error("session cleared");
}