This commit is contained in:
15 2025-06-23 14:01:51 +08:00 committed by GitHub
parent 43f5b21852
commit 3537088135
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import type { ToolWithProvider } from '../../types'
import { BlockEnum } from '../../types'
import type { ToolDefaultValue, ToolValue } from '../types'
import { ViewType } from '../view-type-select'
import ActonItem from './action-item'
import ActionItem from './action-item'
import BlockIcon from '../../block-icon'
import { useTranslation } from 'react-i18next'
@ -118,7 +118,7 @@ const Tool: FC<Props> = ({
{hasAction && !isFold && (
actions.map(action => (
<ActonItem
<ActionItem
key={action.name}
provider={payload}
payload={action}