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 Oct 23, 2024
1 parent f32e5c6 commit e72fdee
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 e72fdee

Please sign in to comment.