Skip to content

Commit

Permalink
fix(clerk-js): Deconstruct new feedback props to avoid prop polluting (
Browse files Browse the repository at this point in the history
  • Loading branch information
desiprisg authored Oct 30, 2023
1 parent bc19fe0 commit fb89c9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/green-spies-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Avoid passing some of the new feedback properties down to the HTML basic elements to avoid react warnings in the console.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ export const InviteMembersForm = (props: InviteMembersFormProps) => {
setError,
setWarning,
setSuccess,
setInfo,
validatePassword,
setHasPassedComplexity,
hasPassedComplexity,
feedback,
feedbackType,
clearFeedback,
...restEmailAddressProps
},
} = emailAddressField;
Expand Down

0 comments on commit fb89c9a

Please sign in to comment.