fix: add missing react hook dependencies

This commit is contained in:
hazre committed 2026-03-01 14:46:23 +01:00
1 parent 77fda81374
commit 600f22ff72
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ export function BackRouteHandler({ children }: BackRouteHandlerProps) {
) {
navigate(getInboxPath());
}
}, [navigate, location]);
}, [navigate, location, setLastRoomId]);
return children(goBack);
}
+1 -1
View File
@@ -61,7 +61,7 @@ export const useMemberPowerSort = (
return getPowerLevel(b.userId) - getPowerLevel(a.userId);
},
[creators]
[creators, getPowerLevel]
);
return sort;