From 7f031bb9609cb90cbe8d8185ff32f6ed1ce23938 Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Mon, 21 Dec 2020 05:10:57 -0500 Subject: [PATCH] chore: prefix un-consumed router.replace() calls with void Signed-off-by: Katalina Okano --- src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index f0b8a5e..804a2d5 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -11,7 +11,7 @@ const Index = () => { React.useEffect(() => { if (user || guilds) { - router.replace('/servers'); + void router.replace('/servers'); } }, [guilds, user]);