Skip to content

Commit

Permalink
don't refetch unless assignedWorkflowID changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed Aug 27, 2024
1 parent 154b5a2 commit 084a0de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/app-project/src/hooks/useAssignedLevel.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { panoptes } from '@zooniverse/panoptes-js'
import useSWR from 'swr'

const SWRoptions = {
revalidateIfStale: true,
revalidateOnMount: true,
revalidateOnFocus: true,
revalidateOnReconnect: true,
revalidateIfStale: false,
revalidateOnMount: false,
revalidateOnFocus: false,
revalidateOnReconnect: false,
refreshInterval: 0
}

Expand Down

0 comments on commit 084a0de

Please sign in to comment.