Skip to content

Commit

Permalink
fix: add deps
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Jan 17, 2024
1 parent 1020f82 commit 7b56f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/antalmanac/src/components/Map/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default function ClassRoutes(props: ClassRoutesProps) {
return () => {
routerRef.current.instance.remove();
};
}, []);
}, [context.map, routerRef]);

return null;
}

0 comments on commit 7b56f84

Please sign in to comment.