Skip to content

Commit

Permalink
chore: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhaugstulen committed Feb 27, 2024
1 parent 7d3c384 commit 13e5d5c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export const useSearchScopeWithFallback = ({ searchText }: Props) => {
},
{
enabled: !searchText,
// Clearing cache after 120 minutes to avoid memory leaks
cacheTime: 120 * 60 * 1000,
select: (data) => {
const { teiSearchOrganisationUnits, organisationUnits } = data;
return teiSearchOrganisationUnits.length
Expand Down

0 comments on commit 13e5d5c

Please sign in to comment.