From df223eddf3690ff578fdbdf550e74375b25a1d44 Mon Sep 17 00:00:00 2001 From: balibabu Date: Mon, 14 Oct 2024 15:30:20 +0800 Subject: [PATCH] feat: Fix translation issue of message_history_window_size #1739 (#2828) ### 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): --- web/src/components/message-history-window-size-item.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/components/message-history-window-size-item.tsx b/web/src/components/message-history-window-size-item.tsx index 94da4e8bb59..acd6ac91a90 100644 --- a/web/src/components/message-history-window-size-item.tsx +++ b/web/src/components/message-history-window-size-item.tsx @@ -6,14 +6,14 @@ const MessageHistoryWindowSizeItem = ({ }: { initialValue: number; }) => { - const { t } = useTranslation('flow'); + const { t } = useTranslation(); return (