From e2058d0bcb786b77b937890dcddb6323a7917c8c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 13 Oct 2021 14:35:34 -0500 Subject: [PATCH] WarningContainer: use to account settings page --- app/soapbox/features/compose/containers/warning_container.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/soapbox/features/compose/containers/warning_container.js b/app/soapbox/features/compose/containers/warning_container.js index e1d69bf2a..8db910db8 100644 --- a/app/soapbox/features/compose/containers/warning_container.js +++ b/app/soapbox/features/compose/containers/warning_container.js @@ -3,6 +3,7 @@ import { connect } from 'react-redux'; import Warning from '../components/warning'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; +import { Link } from 'react-router-dom'; const APPROX_HASHTAG_RE = /(?:^|[^\/\)\w])#(\w*[a-zA-Z·]\w*)/i; @@ -17,7 +18,7 @@ const mapStateToProps = state => { const WarningWrapper = ({ needsLockWarning, hashtagWarning, directMessageWarning }) => { if (needsLockWarning) { - return }} />} />; + return }} />} />; } if (hashtagWarning) {