Skip to content

Commit b048e25

Browse files
author
朱龚
committed
fix: issue #52
1 parent 6378ed3 commit b048e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/challenge-detail/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class ChallengeDetailPageContainer extends React.Component {
227227
challenge.isLegacyChallenge &&
228228
!history.location.pathname.includes(challenge.id)
229229
) {
230-
history.location.pathname = `/challenges/${challenge.id}`; // eslint-disable-line no-param-reassign
230+
history.location.pathname = `/earn/find/challenges/${challenge.id}`; // eslint-disable-line no-param-reassign
231231
history.push(history.location.pathname, history.state);
232232
}
233233

0 commit comments

Comments
 (0)