1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +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={
<Switch
name="weightType"
value={isFixWeight}
checked={isFixWeight}
onChange={setVariantWeightType}
/>
}