Skip to content

Commit

Permalink
Refactor selected class removal
Browse files Browse the repository at this point in the history
- Removes semi-colon
  • Loading branch information
iammearl committed Dec 30, 2023
1 parent ec083ed commit 5bfb166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ function recentColorTray({
tray.classList.add("recent-color-tray")

const updateSelectedClass = (element?: HTMLElement) => {
tray.querySelector(".recent-color.selected")?.classList.remove("selected");
tray.querySelector(".recent-color.selected")?.classList.remove("selected")
element?.classList.add("selected")
}
return {
Expand Down

0 comments on commit 5bfb166

Please sign in to comment.