Skip to content

Commit

Permalink
(fix): go back arrows redirect to correct page (#895)
Browse files Browse the repository at this point in the history
* add route to go back arrow
  • Loading branch information
brrkrmn authored Oct 13, 2023
1 parent ba048ab commit 15d6416
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ function CreateProject(props) {
</Dialog>
{/* Banner */}
<Box className={classes.banner}>
<Link href="/projects" color="inherit" className={classes.backLink}>
<Link href="/projects/create" color="inherit">
<KeyboardBackspaceRoundedIcon/>
</Link>
{props.match.params.id && (
Expand Down
4 changes: 3 additions & 1 deletion zubhub_frontend/zubhub/src/views/create_team/CreateTeam.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ function CreateTeam(props) {
</Dialog>
{/* Banner */}
<Box className={classes.banner}>
<KeyboardBackspaceRoundedIcon />
<Link href="/create-team" color="inherit" >
<KeyboardBackspaceRoundedIcon/>
</Link>
{props.match.params.id && (
<>
<CustomButton onClick={togglePreview} className={classes.previewButton} variant="outlined">
Expand Down

0 comments on commit 15d6416

Please sign in to comment.