import { cn } from '@/utilities/ui' import React from 'react' import { Card, CardPostData } from '@/components/Card' export type Props = { posts: CardPostData[] } export const CollectionArchive: React.FC = (props) => { const { posts } = props return (
{posts?.map((result, index) => { if (typeof result === 'object' && result !== null) { return (
) } return null })}
) }