From 0f8af09cdc90dd9795e1da340f44f817e27f881f Mon Sep 17 00:00:00 2001 From: Sidonie Bouthors <92856411+SidonieBouthors@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:38:58 +0200 Subject: [PATCH] feat: save the date translation button (#70) --- app/src/pages/save-the-date.tsx | 36 +++++++++++++++++++-------------- directus | 2 +- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/app/src/pages/save-the-date.tsx b/app/src/pages/save-the-date.tsx index 7d036b4..59ed6eb 100644 --- a/app/src/pages/save-the-date.tsx +++ b/app/src/pages/save-the-date.tsx @@ -120,6 +120,7 @@ function TranslatedSection( const clic_cells = cells.filter((cell) => cell.commission == null); const translated_std = getTranslation(save_the_date, language_code); const tt = useTranslationTable(); + const router = useRouter(); return ( <> @@ -147,21 +148,25 @@ function TranslatedSection( -