Skip to content

Commit

Permalink
IssueId #215659 fix: Milestone not getting updated when user redirect…
Browse files Browse the repository at this point in the history
…s from discovery to validate
  • Loading branch information
ajinkyapandetekdi committed Mar 18, 2024
1 parent 2152163 commit 7fec0d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/Story/Discover.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,9 @@ const Discovery = ({ forceRerender, setForceRerender }) => {
}
)
.then(async res => {
if (res.data.status === 'success') {
if (res.data.status === 'success') {
setSessionResult(res.data.data.sessionResult);
localStorage.setItem("userCurrentLevel",res.data.data.currentLevel)
setPercentage(res.data.data.percentage);
setDataOfLesson(res.data.data);
setResultArray(resultArray);
Expand Down

0 comments on commit 7fec0d3

Please sign in to comment.