Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/preact-query/src/HydrationBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export const HydrationBoundary = ({
// State is supplied from the outside and we might as well fail
// gracefully if it has the wrong shape, so while we type `queries`
// as required, we still provide a fallback.
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
const queries = state.queries || []

const newQueries: DehydratedState['queries'] = []
Expand Down
1 change: 0 additions & 1 deletion packages/preact-query/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function didSnapshotChange(inst: {
try {
const nextValue = latestGetSnapshot()
return !Object.is(prevValue, nextValue)
// eslint-disable-next-line no-unused-vars
} catch (_error) {
return true
}
Expand Down
Loading