feat: React Suspense support in usePublications hook #4196
Annotations
10 errors and 2 warnings
Run pnpm lint
@lens-protocol/react#lint: command (/home/runner/work/lens-sdk/lens-sdk/packages/react) pnpm run lint exited (1)
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L1
There should be at least one empty line between import groups
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L101
React Hook "useSuspenseResult" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L102
React Hook "useSuspenseQuery" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L106
React Hook "useReadResult" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L106
React Hook "useQuery" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L197
React Hook "useSuspensePaginatedResult" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L198
React Hook "useSuspenseQuery" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L205
React Hook "usePaginatedReadResult" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run pnpm lint:
packages/react/src/helpers/suspense.ts#L205
React Hook "useQuery" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
|
Run pnpm lint:
packages/gated-content/src/graphql/generated.ts#L4883
tsdoc-at-sign-in-word: The "@" character looks like part of a TSDoc tag; use a backslash to escape it
|
Run pnpm lint:
packages/gated-content/src/graphql/generated.ts#L4885
tsdoc-undefined-tag: The TSDoc tag "@localname" is not defined in this configuration
|
Loading