From d86e0ab8de6cd558568301c470bd4c1e163177ba Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 18 Nov 2024 05:34:38 -0500 Subject: Add logout --- src/UI.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/UI.js') diff --git a/src/UI.js b/src/UI.js index 5cdc5d0..5003e21 100644 --- a/src/UI.js +++ b/src/UI.js @@ -1,3 +1,6 @@ export const _cheatLog = (a) => () => console.log(a); export const _setInterval = (delay) => (f) => () => setInterval(f, delay); export const _toJSON = (x) => JSON.stringify(x); +export const _reload = () => { + window.location.reload(); +}; -- cgit v1.2.3