(key: string)
| 47 | * @returns the link URL matching the translation key |
| 48 | */ |
| 49 | const getLinkFromTranslationKey = (key: string) => { |
| 50 | return footerLinks.find(link => link.text.split('.').pop() === key)?.link; |
| 51 | }; |
| 52 | |
| 53 | const richComponents = RICH_TRANSLATION_KEYS.reduce( |
| 54 | (acc, key) => { |