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

Cleave.js causes componentWillReceiveProps warning in the console #2001

Closed
iamsamgibbs opened this issue Feb 29, 2024 · 0 comments · Fixed by #2026
Closed

Cleave.js causes componentWillReceiveProps warning in the console #2001

iamsamgibbs opened this issue Feb 29, 2024 · 0 comments · Fixed by #2026
Assignees
Labels
bug Something isn't working

Comments

@iamsamgibbs
Copy link
Contributor

Steps to reproduce

  1. Create a new action which uses the 'Amount' field (Simple Payment / Transfer funds / Mint tokens).
  2. Look for the 'componentWillReceiveProps' warning in the console.

Suggestions

This is being caused by an old version of the cleave.js package which should be upgraded as newer versions of the package do not use componentWillReceiveProps.

It was deliberately downgraded to an older version in this commit although no reasoning behind this decision is given in the PR. Check where else cleave.js is being used in the project and check there are no breaking changes caused by upgrading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants