Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pistachiobaby committed Dec 5, 2023
1 parent 905d2d2 commit 7425dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ export function transformData(defaultValues: any, data: any) {
const { __typename, ...rest } = result;

if ('id' in input) {
if (isInArray && isParentAnObject) {
if (isInArray && isParentAnObject && __typename !== "jsonb") {
return { _link: input['id'] };
}

Expand Down

0 comments on commit 7425dd5

Please sign in to comment.