mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-18 00:19:49 +01:00
fix variant switch not showing correct state (#409)
* fix variant switch not showing correct state * remove console log
This commit is contained in:
parent
c0a2a0bf62
commit
bb8f00ea36
@ -239,7 +239,7 @@ const AddVariant = ({
|
|||||||
control={
|
control={
|
||||||
<Switch
|
<Switch
|
||||||
name="weightType"
|
name="weightType"
|
||||||
value={isFixWeight}
|
checked={isFixWeight}
|
||||||
onChange={setVariantWeightType}
|
onChange={setVariantWeightType}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user