Merge pull request #518 from smartxworks/fix/button-warning

fix(styleTraitForm): fix nested button warning
This commit is contained in:
yz-yu 2022-07-14 11:35:20 +08:00 committed by GitHub
commit 617d4e0963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,6 +169,7 @@ export const StyleTraitForm: React.FC<Props> = props => {
size="sm"
variant="ghost"
colorScheme="red"
as="div"
icon={<CloseIcon fontSize="12px" />}
onClick={removeStyle}
/>