Skip to content

Commit

Permalink
Fix clientLoader not being called on next navigations (#169)
Browse files Browse the repository at this point in the history
Signed-off-by: Nik Nasr <[email protected]>
  • Loading branch information
nikrooz authored Feb 5, 2025
1 parent 973c48f commit 620067d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libs/features/invocations-route/src/lib/invocations.route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,14 @@ function Component() {
);
}, [pageIndex, sortedItems]);

useEffect(() => {
hasRendered = true;

return () => {
hasRendered = false;
};
}, []);

const query = useQueryBuilder(
schema
.filter((schemaClause) => searchParams.get(`filter_${schemaClause.id}`))
Expand Down

0 comments on commit 620067d

Please sign in to comment.