UEA-PRODEM
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@ function useControllableStateReducer(reducer, userArgs, initialArg, init) {
|
||||
onChange(uncontrolledState);
|
||||
}
|
||||
}
|
||||
}, [onChange, uncontrolledState, prevValueRef, isControlled]);
|
||||
}, [uncontrolledState, prevValueRef, isControlled]);
|
||||
const state = React2.useMemo(() => {
|
||||
const isControlled2 = controlledState !== void 0;
|
||||
if (isControlled2) {
|
||||
|
||||
Reference in New Issue
Block a user