Skip to content

Commit

Permalink
Fix sign in/out
Browse files Browse the repository at this point in the history
  • Loading branch information
64json authored Apr 2, 2022
1 parent 616b3d4 commit 9ba0abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ class Header extends BaseComponent {
<Button className={styles.btn_dropdown} icon={user.avatar_url}>
{user.login}
<div className={styles.dropdown}>
<ListItem label="Sign Out" href="/api/auth/destroy" rel="nofollow"/>
<ListItem label="Sign Out" href="/api/auth/destroy" rel="opener"/>
</div>
</Button> :
<Button icon={faGithub} primary href="/api/auth/request" rel="nofollow">
<Button icon={faGithub} primary href="/api/auth/request" rel="opener">
<Ellipsis>Sign In</Ellipsis>
</Button>
}
Expand Down

0 comments on commit 9ba0abc

Please sign in to comment.