From 33c8528c1a1282d7c812dc93598d4adb9de476c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C6=B0=C6=A1ng=20H=E1=BB=93=20Minh=20T=C3=BA?= Date: Sat, 11 May 2024 11:46:37 +0700 Subject: [PATCH] fix: double scroll bar when searching (#5623) * fix: double scroll bar when searching * fix: use cn instead --------- Co-authored-by: TuDHM Co-authored-by: Arik Chakma --- src/components/CommandMenu/CommandMenu.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/CommandMenu/CommandMenu.tsx b/src/components/CommandMenu/CommandMenu.tsx index 3965ba14f..5512fb0f1 100644 --- a/src/components/CommandMenu/CommandMenu.tsx +++ b/src/components/CommandMenu/CommandMenu.tsx @@ -17,6 +17,7 @@ import { ClipboardIcon } from '../ReactIcons/ClipboardIcon.tsx'; import { GuideIcon } from '../ReactIcons/GuideIcon.tsx'; import { HomeIcon } from '../ReactIcons/HomeIcon.tsx'; import { VideoIcon } from '../ReactIcons/VideoIcon.tsx'; +import { cn } from '../../lib/classname.ts'; export type PageType = { id: string; @@ -190,7 +191,7 @@ export function CommandMenu() { return (
-
+