pull/21354/head
zhuzeyu 11 months ago
parent f2f6e95880
commit aec18c9067

@ -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}

Loading…
Cancel
Save