Skip to content

Commit

Permalink
refactor: Update Playground component with lazy loading for images an…
Browse files Browse the repository at this point in the history
…d Lucide React icon
  • Loading branch information
HasanYahya101 committed Jul 23, 2024
1 parent e998f99 commit 2551f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/component/playground.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ export function Playground() {
<ContextMenuShortcut>{copyHSLShortcut}</ContextMenuShortcut>
</ContextMenuItem>
<ContextMenuSeparator />
<ContextMenuItem inset onClick={switchMode}
<ContextMenuItem inset onClick={() => switchMode()}
>
{sliderMode === "hsl" ? "Switch to RGB" : "Switch to HSL"}
<ContextMenuShortcut>{switchShortcut}</ContextMenuShortcut>
Expand Down

0 comments on commit 2551f5f

Please sign in to comment.