diff --git a/components/Pages/Trade/Incentivize/Incentivize.tsx b/components/Pages/Trade/Incentivize/Incentivize.tsx index b988ba6b..1cdb2e73 100644 --- a/components/Pages/Trade/Incentivize/Incentivize.tsx +++ b/components/Pages/Trade/Incentivize/Incentivize.tsx @@ -113,7 +113,7 @@ const Incentivize: FC = () => { - + p.pool_id === poolId)} /> diff --git a/components/Pages/Trade/Pools/hooks/usePoolsListQuery.ts b/components/Pages/Trade/Pools/hooks/usePoolsListQuery.ts index ec9a8c7e..a73edb8d 100644 --- a/components/Pages/Trade/Pools/hooks/usePoolsListQuery.ts +++ b/components/Pages/Trade/Pools/hooks/usePoolsListQuery.ts @@ -82,7 +82,7 @@ export const usePoolFromListQueryById = ({ poolId }: { poolId: string }) => { return poolsListQuery.data.poolsById[poolId] }, { - enabled: Boolean(poolsListQuery.data) && Boolean(poolsListQuery.isLoading), + enabled: Boolean(poolsListQuery.data) && !Boolean(poolsListQuery.isLoading), staleTime: 2 * 60 * 1000, cacheTime: 5 * 60 * 1000, },