Skip to content

Commit

Permalink
feat: adding cache time for message unseen
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljaijai committed Oct 9, 2024
1 parent db581a5 commit c7b82ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/hooks/api/message/check-has-conversation-unseen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const useCheckHasConversationUnseen = (userUuid: string | null) => {
queryFn: () => checkHasConversationUnseen(),
enabled: !!userUuid,
refetchOnWindowFocus: false,
cacheTime: 1000 * 60 * 15,
})
}

Expand Down

0 comments on commit c7b82ea

Please sign in to comment.