Skip to content

Commit

Permalink
Make logout button an a-element
Browse files Browse the repository at this point in the history
  • Loading branch information
usox committed Oct 5, 2021
1 parent 23bf539 commit 80ffb77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ h4 {
a {
color: rgb(141, 102, 31);
text-decoration: none;;
text-decoration: none;
cursor: pointer;
}
a:hover {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<h3>User</h3>
<ul>
<li v-on:click="logout()">Logout</li>
<li><a v-on:click="logout()">Logout</a></li>
</ul>
</template>

Expand Down

0 comments on commit 80ffb77

Please sign in to comment.