Skip to content

Commit

Permalink
rename onClick to onLogOut
Browse files Browse the repository at this point in the history
  • Loading branch information
greyluo committed May 8, 2024
1 parent 57002c2 commit bda3388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Components/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { adminStatus } from '../stores.js';
let logo = "/static/HKN-Logo-New-Blue.png";
let onClick = () => {
let onLogOut = () => {
sessionStorage.removeItem('adminStatus');
}
Expand Down Expand Up @@ -53,6 +53,6 @@
<a href="/inductees">Inductees</a>
<a href="/outreach">Outreach</a>
{/if}
<a href="/accounts/logout/" on:click={onClick}>Logout</a>
<a href="/accounts/logout/" on:click={onLogOut}>Logout</a>
</div>

0 comments on commit bda3388

Please sign in to comment.