Skip to content

Commit

Permalink
Merge pull request #269 from GTBitsOfGood/cduffy/fix-logout
Browse files Browse the repository at this point in the history
redirect to homepage on logout
  • Loading branch information
avayedawadi authored Mar 30, 2024
2 parents fca82d6 + 73734c1 commit d888641
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/navigation/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ function NavBar(props) {
{/* SETTINGS */}
{/* </div> */}
{/* </div> */}
<Link to={'/'} target="_blank" style={{ textDecoration: 'none' }}>
<div className="cell" onClick={props.logout}>
<div className="icon">
<FiPower />
Expand All @@ -159,6 +160,7 @@ function NavBar(props) {
LOGOUT
</div>
</div>
</Link>
</div>
</div>
</div>
Expand Down

0 comments on commit d888641

Please sign in to comment.