diff --git a/src/shared/containers/terms-detail/index.jsx b/src/shared/containers/terms-detail/index.jsx index 0f79a1a904..3bc8897294 100644 --- a/src/shared/containers/terms-detail/index.jsx +++ b/src/shared/containers/terms-detail/index.jsx @@ -70,9 +70,15 @@ class TermsDetailPageContainer extends React.Component { agreeingTerm, agreeTermFailure, theme, + history, } = this.props; const { termsAccepted, showModal } = this.state; + if (details && details.isLegacyTerm && !history.location.pathname.includes(details.id)) { + const path = `/challenges/terms/detail/${details.id}`; + history.push(path, history.state); + } + return (