Skip to content

Commit

Permalink
fix: sorting select
Browse files Browse the repository at this point in the history
  • Loading branch information
nunom27 committed Feb 22, 2024
1 parent 23e40f2 commit 9b330e1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,10 @@ export default function Sidebar({ pins, isOpen, setOpen, mapRef }: Props) {
setSortDirection(e.target.value as ESortDirection)
}
className={styles.sort_button}
value={sortDirection}
>
<option></option>
<option
{...(sortDirection == '↑' ? { selected: true } : {})}
>
</option>
<option></option>
</select>
</div>
</div>
Expand Down

0 comments on commit 9b330e1

Please sign in to comment.