Skip to content

Commit

Permalink
fix: listField change update values
Browse files Browse the repository at this point in the history
Must set new object for atom to refresh.
  • Loading branch information
MiroslavPetrik committed Oct 20, 2023
2 parents 8c2fc6a + 95da83a commit 79302c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/list-field/useListFieldActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const useListFieldActions = <
}, fields);

return fields;
return { ...fields };
});
}),
[]
Expand Down

0 comments on commit 79302c4

Please sign in to comment.