fix: select defaults not working

This commit is contained in:
Lewis Crichton 2023-09-09 10:53:49 +01:00
parent 9fdd2c7c17
commit b7bd5096b6
No known key found for this signature in database

View file

@ -235,7 +235,7 @@ function UserCSSSettingsModal({ modalProps, theme }: UserCSSSettingsModalProps)
key: option.name,
value: option.value,
default: varInfo.default === option.value,
default: varInfo.default === option.name,
label: option.label
} as ComponentTypes.SelectOption));