diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-05-03 11:10:58 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-05-03 11:10:58 +0200 |
commit | 3dd4f40a0efd646452981db7a6bd4bf0c607d1a7 (patch) | |
tree | 17dfda7e2aca92d5e4fe0c7e3076195d18c818c2 /app/javascript/flavours | |
parent | 3093ed1b7d4bddea335e31167750c74f75df86d0 (diff) |
Fix backend terms link not being used
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/containers/warning_container.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/containers/warning_container.js b/app/javascript/flavours/glitch/features/compose/containers/warning_container.js index e2c1f5713..5fccaa442 100644 --- a/app/javascript/flavours/glitch/features/compose/containers/warning_container.js +++ b/app/javascript/flavours/glitch/features/compose/containers/warning_container.js @@ -49,7 +49,7 @@ const WarningWrapper = ({ needsLockWarning, hashtagWarning, directMessageWarning if (directMessageWarning) { const message = ( <span> - <FormattedMessage id='compose_form.encryption_warning' defaultMessage='Posts on Mastodon are not end-to-end encrypted. Do not share any dangerous information over Mastodon.' /> <a href='/terms' target='_blank'><FormattedMessage id='compose_form.direct_message_warning_learn_more' defaultMessage='Learn more' /></a> + <FormattedMessage id='compose_form.encryption_warning' defaultMessage='Posts on Mastodon are not end-to-end encrypted. Do not share any dangerous information over Mastodon.' /> {!!termsLink && <a href={termsLink} target='_blank'><FormattedMessage id='compose_form.direct_message_warning_learn_more' defaultMessage='Learn more' /></a>} </span> ); |