Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Crash cake staking input (#10623)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the `LockCakeForm.tsx` file in the CakeStaking component to handle input of a decimal point more effectively. ### Detailed summary - Modified the `onUserInput` function to handle input of a decimal point by converting it to '0.' before passing it to the function. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> --------- Co-authored-by: Chef Jerry <144641937+ChefJerry@users.noreply.github.com>
- Loading branch information