mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 17:19:10 +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(() => {
|
React.useEffect(() => {
|
||||||
if (user || guilds) {
|
if (user || guilds) {
|
||||||
router.replace('/servers');
|
void router.replace('/servers');
|
||||||
}
|
}
|
||||||
}, [guilds, user]);
|
}, [guilds, user]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue