import { Link, useQuery } from "blitz" import getConversationsQuery from "../queries/get-conversations" export default function ConversationsList() { const conversations = useQuery(getConversationsQuery, {})[0] if (Object.keys(conversations).length === 0) { return