Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
o2sh committed Dec 10, 2023
1 parent d640637 commit 487ee5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/vercel/src/Index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
let tagName: string;
let htmlUrl: string;
let menuOpen: boolean;
let showMenu: boolean;
const languages: Language[] = Object.entries(data as Languages).map(
([name, { type, ascii, colors }]) => ({
Expand Down Expand Up @@ -80,11 +80,11 @@
</p>
<div class="title">
<h3>Languages <small>({$filteredLanguages.length})</small></h3>
<button class="filter-button" on:click={() => (menuOpen = !menuOpen)}
<button class="filter-button" on:click={() => (showMenu = !showMenu)}
>Filter by type</button>
</div>

<div class:hide={!menuOpen}>
<div class:hide={!showMenu}>
<div class="checkbox-group">
{#each languageTypes as type}
<label for={type}>
Expand Down

0 comments on commit 487ee5d

Please sign in to comment.