mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix SWR call
This commit is contained in:
parent
ec508d80b0
commit
e3d1a69c65
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ export function useGetLabelsQuery(): LabelsQueryResponse {
|
|||
${labelFragment}
|
||||
`
|
||||
|
||||
const { data, mutate, isValidating } = useSWR(query, publicGqlFetcher)
|
||||
const { data, error, mutate, isValidating } = useSWR(query, publicGqlFetcher)
|
||||
|
||||
try {
|
||||
if (data) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue