Browse Source

fix: markdown button can't send message (#20933)

tags/1.4.3
非法操作 4 months ago
parent
commit
b2ac11bc47
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/app/components/base/markdown-blocks/button.tsx

+ 1
- 1
web/app/components/base/markdown-blocks/button.tsx View File

size={size} size={size}
className={cn('!h-auto min-h-8 select-none whitespace-normal !px-3')} className={cn('!h-auto min-h-8 select-none whitespace-normal !px-3')}
onClick={() => { onClick={() => {
if (isValidUrl(link)) {
if (link && isValidUrl(link)) {
window.open(link, '_blank') window.open(link, '_blank')
return return
} }

Loading…
Cancel
Save