chore: update and fix dependencies

This commit is contained in:
2024-01-17 12:39:04 +07:00
parent 0b745cb40e
commit c0305db5fc
24 changed files with 149 additions and 152 deletions

View File

@@ -7,9 +7,9 @@ import {
useImperativeHandle,
useState,
} from "react";
import { twMerge } from "tailwind-merge";
import { NDKCacheUserProfile } from "@lume/types";
import { cn } from "@lume/utils";
type MentionListRef = {
onKeyDown: (props: { event: Event }) => boolean;
@@ -76,7 +76,7 @@ const List = (
type="button"
key={item.pubkey}
onClick={() => selectItem(index)}
className={twMerge(
className={cn(
"inline-flex h-11 items-center gap-2 rounded-md px-2",
index === selectedIndex
? "bg-neutral-100 dark:bg-neutral-900"