Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated defaultProps #40

Merged
merged 2 commits into from
Jan 11, 2023
Merged

remove deprecated defaultProps #40

merged 2 commits into from
Jan 11, 2023

Conversation

eluce2
Copy link
Contributor

@eluce2 eluce2 commented Dec 22, 2022

defaultProps are being deprecated in a future version of React. This results in an error message in my console for every page load when using the react widget.

This PR simply replaces the default props with JS default parameters instead

@eluce2
Copy link
Contributor Author

eluce2 commented Jan 6, 2023

Are we able to get this merged soon? Thanks!

@Shard Shard merged commit 20bea42 into userback:develop Jan 11, 2023
@Shard
Copy link
Contributor

Shard commented Jan 11, 2023

Hi @eluce2,

Thanks for the PR, I have merged this into develop and will sort out the CI issues.

We should be cutting a v0.2 release this week which will have this change.

Cheers.

@Shard Shard mentioned this pull request Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants