Skip to content

Commit a355f15

Browse files
author
Vikas Agarwal
committed
fix: git#870-Error initially after activating a challenge
- fixed the wrong link
1 parent 5520b9a commit a355f15

File tree

1 file changed

+1
-1
lines changed
  • src/components/ChallengesComponent/ChallengeCard

1 file changed

+1
-1
lines changed

src/components/ChallengesComponent/ChallengeCard/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class ChallengeCard extends React.Component {
248248
onCancel={reloadChallengeList}
249249
closeText='Close'
250250
okText='View Challenge'
251-
okLink='./view'
251+
okLink={`/projects/${challenge.projectId}/challenges/${challenge.id}/view`}
252252
onClose={this.resetModal}
253253
/>
254254
) }

0 commit comments

Comments
 (0)