forked from rjsf-team/react-jsonschema-form
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Removed infinite loop in AltDateWidget
Fixes rjsf-team#3516 by removing the infinite loop caused by two `useEffects()` by moving the code for one into the `onChange` handler - Updated `AltDateWidget` to switch to a simple `useState()` rather than `useReducer()` and moved the code for one `useEffect()` into the `onChange` handler - This change makes the code match the `antd` and `chakra-ui` versions - Updated the `CHANGELOG.md` accordingly
- Loading branch information
1 parent
147a6a2
commit 69386a0
Showing
2 changed files
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters