fix: frontend security risk (#2355)

This commit is contained in:
Joel 2024-02-02 15:24:17 +08:00 • committed by GitHub
commit a667d04e53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 59 additions and 53 deletions

View file

@ -247,7 +247,7 @@ const ModelModal: FC<ModelModalProps> = ({
? (
<a
href={provider.help?.url[language]}
target='_blank'
target='_blank' rel='noopener noreferrer'
className='inline-flex items-center text-xs text-primary-600'
onClick={e => !provider.help.url && e.preventDefault()}
>