packages/render-spin-check/src/hooks/useRenderSpinCheck.tsx
Function useRenderSpinCheck
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useRenderSpinCheck = (bounce: RenderSpinCheckBounce, config?: RenderSpinCheckConfig) => {
const startTime = useMemo(() => Date.now(), [])
const [error, setError] = useState<Error>()
useEffect(() => {