1
0
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:
Youssef Khedher 2021-10-11 22:23:32 +01:00 committed by GitHub
parent c0a2a0bf62
commit bb8f00ea36

View File

@ -239,7 +239,7 @@ const AddVariant = ({
control={ control={
<Switch <Switch
name="weightType" name="weightType"
value={isFixWeight} checked={isFixWeight}
onChange={setVariantWeightType} onChange={setVariantWeightType}
/> />
} }