Skip to content

Commit

Permalink
feat: Fix translation issue of message_history_window_size #1739 (#2828)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

feat: Fix translation issue of message_history_window_size #1739

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
  • Loading branch information
cike8899 authored Oct 14, 2024
1 parent 85b3595 commit df223ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/components/message-history-window-size-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ const MessageHistoryWindowSizeItem = ({
}: {
initialValue: number;
}) => {
const { t } = useTranslation('flow');
const { t } = useTranslation();

return (
<Form.Item
name={'message_history_window_size'}
label={t('messageHistoryWindowSize')}
label={t('flow.messageHistoryWindowSize')}
initialValue={initialValue}
tooltip={t('messageHistoryWindowSizeTip')}
tooltip={t('flow.messageHistoryWindowSizeTip')}
>
<InputNumber style={{ width: '100%' }} />
</Form.Item>
Expand Down

0 comments on commit df223ed

Please sign in to comment.