Skip to content

Commit

Permalink
Merge pull request #202 from AI4Bharat/previous-page-label-change
Browse files Browse the repository at this point in the history
Label change 'Back to Previous Page' to 'Back to Project'
  • Loading branch information
sagarika-padmanaban authored Dec 26, 2024
2 parents 14f6ce4 + 58eab50 commit 1a7de03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions src/app/ui/pages/chat/AnnotatePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ console.log(output,"kk");
}}
>
<Button
value="Back to Previous Page"
value="Back to Project"
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
Expand All @@ -839,11 +839,10 @@ console.log(output,"kk");
localStorage.removeItem("labelAll");
}

// navigate(`/projects/${projectId}`);
navigate(-1);
navigate(`/projects/${projectId}`);
}}
>
Back to Previous Page
Back to Project
</Button>
</Box>
</Grid>
Expand Down
4 changes: 2 additions & 2 deletions src/app/ui/pages/chat/ReviewPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ const ReviewPage = () => {
}}
>
<Button
value="Back to Previous Page"
value="Back to Project"
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
Expand All @@ -1157,7 +1157,7 @@ const ReviewPage = () => {
//window.location.reload();
}}
>
Back to Previous Page
Back to Project
</Button>
</Box>
</Grid>
Expand Down
4 changes: 2 additions & 2 deletions src/app/ui/pages/chat/SuperCheckerPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ const SuperCheckerPage = () => {
}}
>
<Button
value="Back to Previous Page"
value="Back to Project"
startIcon={<ArrowBackIcon />}
variant="contained"
color="primary"
Expand All @@ -928,7 +928,7 @@ const SuperCheckerPage = () => {
//window.location.reload();
}}
>
Back to Previous Page
Back to Project
</Button>
</Box>
</Grid>
Expand Down

0 comments on commit 1a7de03

Please sign in to comment.