diff --git a/src/components/modals/Boost/BoostInnerModal.tsx b/src/components/modals/Boost/BoostInnerModal.tsx index dee2a42f8b..dea4ec9432 100644 --- a/src/components/modals/Boost/BoostInnerModal.tsx +++ b/src/components/modals/Boost/BoostInnerModal.tsx @@ -160,6 +160,7 @@ const BoostInnerModal: FC = ({ skip: 0, userId: parseFloat(user.id || '') || -1, }, + fetchPolicy: 'no-cache', }); setLoading(false); @@ -186,7 +187,7 @@ const BoostInnerModal: FC = ({ } }; fetchUserBoosts(); - }, [user]); + }, [user, isSaving]); const confirmAllocation = async () => { setIsSaving(true); diff --git a/src/components/views/userProfile/boostedTab/useFetchPowerBoostingInfo.ts b/src/components/views/userProfile/boostedTab/useFetchPowerBoostingInfo.ts index 6ae58ee93c..f41e77f310 100644 --- a/src/components/views/userProfile/boostedTab/useFetchPowerBoostingInfo.ts +++ b/src/components/views/userProfile/boostedTab/useFetchPowerBoostingInfo.ts @@ -40,6 +40,7 @@ export const useFetchPowerBoostingInfo = (user: IUser) => { orderBy: { field: order.by, direction: order.direction }, userId: parseFloat(user.id || '') || -1, }, + fetchPolicy: 'no-cache', }); setTotalCount(data?.getPowerBoosting.totalCount || 0); setLoading(false);