From a39c28d8071787c6056160e43bcc1641160a7dc8 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Tue, 16 Jun 2026 14:24:15 +0200 Subject: [PATCH] updated hall of fame --- frontend/src/components/ui/BackButton.tsx | 4 +--- frontend/src/pages/MainPage.tsx | 12 ++++++------ frontend/src/pages/categories/CategoryFlavors.tsx | 5 +---- frontend/src/pages/flavors/FlavorDetail.tsx | 5 ++++- frontend/ux-improvements.md | 2 +- 5 files changed, 13 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/ui/BackButton.tsx b/frontend/src/components/ui/BackButton.tsx index c8f4a7b..c5fb3e3 100644 --- a/frontend/src/components/ui/BackButton.tsx +++ b/frontend/src/components/ui/BackButton.tsx @@ -39,9 +39,7 @@ export const BackButton: React.FC = ({ to, sx }) => { const label = to || !canGoBack ? t('common.backToHome') : t('common.back'); - const linkProps = to - ? { component: Link as React.ElementType, to } - : { onClick: handleGoBack }; + const linkProps = to ? { component: Link as React.ElementType, to } : { onClick: handleGoBack }; return (