fix no-self-assign

pull/8592/head
Niklas Fiekas 2021-04-07 16:43:40 +02:00
parent 7ed5f2e458
commit c671e5e380
2 changed files with 1 additions and 2 deletions

View File

@ -33,7 +33,6 @@
"no-useless-escape": "off",
"no-empty": "off",
"@typescript-eslint/no-empty-function": "off",
"no-self-assign": "off",
"no-constant-condition": "off",
"no-async-promise-executor": "off"
}

View File

@ -30,5 +30,5 @@ export const reload = () => {
unload.expected = true;
lichess.socket.disconnect();
if (location.hash) location.reload();
else location.href = location.href;
else location.assign(location.href);
};