From 0e138a20fdeaf4dd97f9cad36956f1e061640583 Mon Sep 17 00:00:00 2001 From: Pablo Date: Tue, 24 Dec 2024 12:21:42 +0100 Subject: [PATCH] fix translation and placement of address text --- src/components/TutorialMetadata.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/TutorialMetadata.tsx b/src/components/TutorialMetadata.tsx index 78a486e11a8..d2565a5cb0d 100644 --- a/src/components/TutorialMetadata.tsx +++ b/src/components/TutorialMetadata.tsx @@ -27,7 +27,8 @@ export enum Skill { } export const getSkillTranslationId = (skill: Skill): TranslationKey => - `page-developers-tutorials:page-tutorial-${Skill[skill.toUpperCase() as keyof typeof Skill] + `page-developers-tutorials:page-tutorial-${ + Skill[skill.toUpperCase() as keyof typeof Skill] }` const TutorialMetadata = ({ @@ -82,16 +83,16 @@ const TutorialMetadata = ({ {address && ( - + {(isCopied) => ( -
-
- {" "} -
- {address} {isCopied && } +
+ + + {" "} + {address} {isCopied && }{" "} {isCopied && ( - + )}
)} @@ -102,4 +103,4 @@ const TutorialMetadata = ({ ) } -export default TutorialMetadata \ No newline at end of file +export default TutorialMetadata