import { useChannelProfile } from '@app/channel/hooks/useChannelProfile'; import { usePageContext } from '@utils/hooks/usePageContext'; import { twMerge } from 'tailwind-merge'; export default function ChannelsListItem({ data }: { data: any }) { const channel: any = useChannelProfile(data.event_id, data.pubkey); const pageContext = usePageContext(); const searchParams: any = pageContext.urlParsed.search; const pageID = searchParams.id; return (
#
{channel?.name}
); }