Skip to content

Commit

Permalink
fix border highlighting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsPi3141 committed Nov 29, 2024
1 parent c70300e commit 7dbcfd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ const App = ({ ffmpegRef, isServer }) => {
"button.avatar-preset.border-2.border-primary",
)) {
el.classList.remove("border-primary");
el.classList.add("border-surface1");
el.classList.add("border-surface2");
}
e.target.classList.add("border-primary");
e.target.classList.remove("border-surface1");
e.target.classList.remove("border-surface2");
}}
>
<Image
Expand Down Expand Up @@ -404,10 +404,10 @@ const App = ({ ffmpegRef, isServer }) => {
"button.decor.border-2.border-primary",
)) {
el.classList.remove("border-primary");
el.classList.add("border-surface1");
el.classList.add("border-surface2");
}
e.target.classList.add("border-primary");
e.target.classList.remove("border-surface1");
e.target.classList.remove("border-surface2");
}}
>
<Image
Expand Down

0 comments on commit 7dbcfd9

Please sign in to comment.