Create codemod for addressing ESLint warnings (#10032)

This commit is contained in:
DS Boyce
2026-03-11 15:51:31 -07:00
committed by GitHub
parent 80429ec902
commit 1db01a09a8
240 changed files with 1560 additions and 1347 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import React from 'react'
import {useCallback} from 'react'
import {useMutation, useQueryClient} from '@tanstack/react-query'
import {STALE} from '#/state/queries'
@@ -16,7 +16,7 @@ export function useFetchHandle() {
const queryClient = useQueryClient()
const agent = useAgent()
return React.useCallback(
return useCallback(
async (handleOrDid: string) => {
if (handleOrDid.startsWith('did:')) {
const res = await queryClient.fetchQuery({
@@ -55,7 +55,7 @@ export function useFetchDid() {
const queryClient = useQueryClient()
const agent = useAgent()
return React.useCallback(
return useCallback(
async (handleOrDid: string) => {
return queryClient.fetchQuery({
staleTime: STALE.INFINITY,