Skip to content

Commit

Permalink
Merge pull request #619 from nwplus/application-closed-dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
martincai8 authored Oct 18, 2024
2 parents ef35b26 + 40ee2b8 commit 42f016a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility/HackerApplicationContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export function HackerApplicationProvider({ children }) {
return null
}

if (!applicationOpen && window.location.pathname !== '/application') {
if (!applicationOpen && !window.location.pathname.endsWith('/application')) {
return <Closed />
}

Expand Down

0 comments on commit 42f016a

Please sign in to comment.