mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
chore: prefix un-consumed router.replace() calls with void
Signed-off-by: Katalina Okano <git@kat.cafe>
This commit is contained in:
parent
779095386d
commit
7f031bb960
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const Index = () => {
|
|||
|
||||
React.useEffect(() => {
|
||||
if (user || guilds) {
|
||||
router.replace('/servers');
|
||||
void router.replace('/servers');
|
||||
}
|
||||
}, [guilds, user]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue