import { gql, useQuery } from '@apollo/client' import CommentsFlat from '../components/comments-flat' import Layout from '../components/layout' export function RecentlyStacked () { const query = gql` { recentlyStacked }` const { data } = useQuery(query) if (!data || !data.recentlyStacked) return null return (