import { Link, useQuery, Routes } from "blitz"; import { IoChevronForward } from "react-icons/io5"; import getConversationsQuery from "../queries/get-conversations"; import { formatRelativeDate } from "../../core/helpers/date-formatter"; export default function ConversationsList() { const conversations = useQuery(getConversationsQuery, {})[0]; if (Object.keys(conversations).length === 0) { return