Skip to content

Commit

Permalink
[Mission] fix remove tab
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Oct 12, 2023
1 parent 3afe29f commit ca8f012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/features/missions/MissionsNavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function MissionsNavBar() {
}

const removeTab = nextPath => {
if (nextPath) {
if (!nextPath) {
return
}
dispatch(deleteTab(nextPath))
Expand Down

0 comments on commit ca8f012

Please sign in to comment.