From 68cf4448f23f9e9513671ccc1ad2b21ab25aa697 Mon Sep 17 00:00:00 2001 From: samuraikun Date: Fri, 23 Feb 2024 17:44:59 -0800 Subject: [PATCH] add comment to explain why after param is null. --- app/activity/hooks/useRefetchTrips.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/activity/hooks/useRefetchTrips.ts b/app/activity/hooks/useRefetchTrips.ts index ccb6aa6..a0fde7e 100644 --- a/app/activity/hooks/useRefetchTrips.ts +++ b/app/activity/hooks/useRefetchTrips.ts @@ -10,6 +10,7 @@ export const useRefetchTrips = () => { id: { eq: tripId } }, first: 12, + // NOTE: This refetch hook function is designed to re-fetch only the single trip associated with an activity, so pagination considerations are unnecessary. after: null }) }