fix(frontend): use correct translations for privacy and term of use links

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2023-07-09 10:33:33 +02:00 committed by Tilman Vatteroth
parent 618289b52e
commit 82f534f7b0

View file

@ -22,12 +22,12 @@ export const RegisterInfos: React.FC = () => {
<ul>
<ShowIf condition={!!specialUrls.termsOfUse}>
<li>
<TranslatedExternalLink i18nKey='appBar.legal.termsOfUse' href={specialUrls.termsOfUse ?? ''} />
<TranslatedExternalLink i18nKey='appbar.help.legal.termsOfUse' href={specialUrls.termsOfUse ?? ''} />
</li>
</ShowIf>
<ShowIf condition={!!specialUrls.privacy}>
<li>
<TranslatedExternalLink i18nKey='appBar.legal.privacy' href={specialUrls.privacy ?? ''} />
<TranslatedExternalLink i18nKey='appbar.help.legal.privacy' href={specialUrls.privacy ?? ''} />
</li>
</ShowIf>
</ul>