🐛 Fix clear icon in apperance tab

This commit is contained in:
ajnart
2023-07-23 10:32:45 +09:00
parent 4bd0fea528
commit 2c9dbccea5

View File

@@ -84,7 +84,7 @@ export const IconSelector = forwardRef(
icon={<DebouncedImage src={value ?? currentValue} width={20} height={20} />}
rightSection={
(value ?? currentValue).length > 0 ? (
<CloseButton onClick={() => onChange(undefined)} />
<CloseButton onClick={() => onChange("")} />
) : null
}
itemComponent={AutoCompleteItem}