Skip to content

Commit e4bd6fd

Browse files
committed
fix(solid-query): Remove unserializable values
1 parent fa04d8b commit e4bd6fd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/solid-query/src/createBaseQuery.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ export function createBaseQuery<
9191
// copying over the missing properties from state in order to support hydration
9292
dataUpdateCount: query.state.dataUpdateCount,
9393
fetchFailureCount: query.state.fetchFailureCount,
94-
fetchFailureReason: query.state.fetchFailureReason,
95-
fetchMeta: query.state.fetchMeta,
94+
// Removing these properties since they might not be serializable
95+
// fetchFailureReason: query.state.fetchFailureReason,
96+
// fetchMeta: query.state.fetchMeta,
9697
isInvalidated: query.state.isInvalidated,
9798
}
9899

0 commit comments

Comments
 (0)