From d00f9d5c003ca72c6d411a8d14ca482f60b97258 Mon Sep 17 00:00:00 2001 From: "O.AITBAZIZ" <44092179+amnaatarapper@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:32:44 +0100 Subject: [PATCH] Update index.mdx (#6) Fixed a typo --- website/src/pages/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/index.mdx b/website/src/pages/index.mdx index c1159d21..7d58fb5e 100644 --- a/website/src/pages/index.mdx +++ b/website/src/pages/index.mdx @@ -123,7 +123,7 @@ type ApiEndpoint = `/api/${ApiRoute}`; const userEndpoint: ApiEndpoint = '/api/users'; // ❌ Avoid -const homeTitleTranslation = 'transltion.hom.title'; // Type 'string' - no error +const homeTitleTranslation = 'transltion.home.title'; // Type 'string' - no error // ✅ Use type LocaleKeyPages = 'home' | 'about' | 'contact'; type TranslationKey = `translation.${LocaleKeyPages}.${string}`;