chore: change copywriting

This commit is contained in:
Joel
2026-03-26 14:55:50 +08:00
parent 6408300c35
commit 4d95cee44e
3 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ const ViewPicker: FC<ViewPickerProps> = ({
const { t } = useTranslation()
const options = useMemo(() => ([
{ value: ViewType.graph, text: t('viewPicker.graph', { ns: 'workflow' }), disabled: disabled && value !== ViewType.graph },
{ value: ViewType.skill, text: t('viewPicker.skill', { ns: 'workflow' }), disabled: disabled && value !== ViewType.skill },
{ value: ViewType.skill, text: t('viewPicker.file', { ns: 'workflow' }), disabled: disabled && value !== ViewType.skill },
]), [t, disabled, value])
const handleChange = useCallback((nextValue: string | number | symbol) => {