From 4a8a66acd975019bb66442d6fbecc7e5c4621b17 Mon Sep 17 00:00:00 2001 From: Vlad Furman Date: Wed, 4 Jun 2025 15:16:43 +0300 Subject: [PATCH] fix: fixed All results label (i18n) --- src/components/Settings/SettingsSearch/AllResultsPage.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Settings/SettingsSearch/AllResultsPage.tsx b/src/components/Settings/SettingsSearch/AllResultsPage.tsx index 233f30f9..1dfbf88a 100644 --- a/src/components/Settings/SettingsSearch/AllResultsPage.tsx +++ b/src/components/Settings/SettingsSearch/AllResultsPage.tsx @@ -13,7 +13,6 @@ import type { import i18n from '../i18n'; const allSearchResultsId = 'allSearchResults'; -const allSearchResultsLabel = i18n('label_all-results'); export function useAllResultsPage({ pages, @@ -96,7 +95,7 @@ function createAllResultsPage(pages: SettingsPage[], menu: SettingsMenu): Settin function createAllResultsMenuItem(): SettingsMenuItem { return { id: allSearchResultsId, - title: allSearchResultsLabel, + title: i18n('label_all-results'), icon: {data: ListUl}, }; }