From 5bfb166489278790687d5cf1fedc566bdb9b832f Mon Sep 17 00:00:00 2001 From: iammearl Date: Fri, 29 Dec 2023 18:43:58 -0800 Subject: [PATCH] Refactor selected class removal - Removes semi-colon --- apps/web/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/main.ts b/apps/web/src/main.ts index 4448f95..5f0ef35 100644 --- a/apps/web/src/main.ts +++ b/apps/web/src/main.ts @@ -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 {