Skip to content

Commit 89c2deb

Browse files
committed
Format files
1 parent d2bb1d4 commit 89c2deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/query/core/buildSlice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export function buildSlice({
211211
} else {
212212
// Assign or safely update the cache data.
213213
substate.data =
214-
definitions[meta.arg.endpointName].structuralSharing ?? true
214+
(definitions[meta.arg.endpointName].structuralSharing ?? true)
215215
? copyWithStructuralSharing(
216216
isDraft(substate.data)
217217
? original(substate.data)

0 commit comments

Comments
 (0)