From b2485151b66d01c020a78f040fb2abb92dd57f51 Mon Sep 17 00:00:00 2001 From: XlebyllleK <96723939+XlebyllleK@users.noreply.github.com> Date: Sun, 12 Jan 2025 19:34:27 +0200 Subject: [PATCH] Add footer to translation --- src/App.tsx | 4 ++-- src/locales/en.tsx | 3 ++- src/locales/uk.tsx | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 19062f9..f6c55ec 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -85,7 +85,7 @@ export default function App(): JSX.Element { () => window.location.reload() } className="mt-2 inline-block text-sm text-nord-10 hover:underline">{translate("App.error.retry-fetching-packages")} - ) : filteredPackages.length === 0 ? ( + ) : (count === 0) ? ( // Empty State
{translate("App.no-packages-found")}
@@ -99,7 +99,7 @@ export default function App(): JSX.Element {