fix: button (#5470)

This commit is contained in:
zxhlyh 2024-06-21 14:17:45 +08:00 committed by GitHub
commit 5d4d65a85b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
112 changed files with 638 additions and 256 deletions

View file

@ -88,10 +88,7 @@ const LinkEditorComponent = ({
/>
<Button
variant='primary'
className={cn(
'py-0 px-2 h-6 text-xs',
!url && 'cursor-not-allowed',
)}
size='small'
disabled={!url}
onClick={() => handleSaveLink(url)}
>