We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77fff73 commit a604875Copy full SHA for a604875
apps/explorer/src/app/[network]/page.tsx
@@ -29,11 +29,14 @@ export default function Network() {
29
fetchData()
30
}, [])
31
32
- const filterGroups = useCallback((groupId: string) => {
33
- const groups = allGroups.filter((group) => (!groupId ? true : group.id.includes(groupId)))
+ const filterGroups = useCallback(
+ (groupId: string) => {
34
+ const groups = allGroups.filter((group) => (!groupId ? true : group.id.includes(groupId)))
35
- setFilteredGroups(groups)
36
- }, [])
+ setFilteredGroups(groups)
37
+ },
38
+ [allGroups]
39
+ )
40
41
return (
42
allGroups && (
0 commit comments