@yamada-ui/use-controllable-state
Advanced tools
Comparing version 0.0.0-dev-20231125142739 to 0.0.0-dev-20231128173032
@@ -45,3 +45,3 @@ "use client" | ||
return; | ||
if (!controlled) | ||
if (!controlled || (0, import_utils.isUndefined)(nextValue) || (0, import_utils.isNull)(nextValue)) | ||
setDefaultValue(nextValue); | ||
@@ -48,0 +48,0 @@ onChange(nextValue); |
{ | ||
"name": "@yamada-ui/use-controllable-state", | ||
"version": "0.0.0-dev-20231125142739", | ||
"version": "0.0.0-dev-20231128173032", | ||
"description": "Yamada UI useControllableState custom hook", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
7153
100