File tree Expand file tree Collapse file tree 2 files changed +218
-214
lines changed Expand file tree Collapse file tree 2 files changed +218
-214
lines changed Original file line number Diff line number Diff line change 1+ import { useTab } from "@/tab-provider"
12import type { DataType , RedisKey } from "@/types"
23
34import { cn } from "@/lib/utils"
@@ -6,7 +7,6 @@ import { TypeTag } from "@/components/databrowser/components/type-tag"
67
78import { useKeys } from "../../hooks/use-keys"
89import { SidebarContextMenu } from "../sidebar-context-menu"
9- import { useTab } from "@/tab-provider"
1010
1111export const KeysList = ( ) => {
1212 const { keys } = useKeys ( )
@@ -44,7 +44,7 @@ const KeyItem = ({ data, nextKey }: { data: RedisKey; nextKey: string }) => {
4444 data-key = { dataKey }
4545 variant = { isKeySelected ? "default" : "ghost" }
4646 className = { cn (
47- "relative flex h-10 w-full items-center justify-start gap-2 px-3 py-0 !ring-0 focus-visible:bg-zinc-50 dark:focus-visible:bg-zinc-100 " ,
47+ "relative flex h-10 w-full items-center justify-start gap-2 px-3 py-0 !ring-0 focus-visible:bg-zinc-50" ,
4848 "select-none border border-transparent text-left" ,
4949 isKeySelected && "shadow-sm" ,
5050 isKeySelected && keyStyles [ dataType ]
You can’t perform that action at this time.
0 commit comments