fix: button (#5470)

This commit is contained in:
zxhlyh
2024-06-21 14:17:45 +08:00
committed by GitHub
parent 92ddb410cd
commit 5d4d65a85b
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)}
>