import React from "react"; import Image from "next/image"; import { useImageProxy } from "@/hooks/useImageProxy"; import { formatUnixTimestamp } from "@/utils/time"; import GenericButton from "@/components/buttons/GenericButton"; const SelectedContentItem = ({ content, onRemove }) => { console.log('content:', content); const { returnImageProxy } = useImageProxy(); return (
content thumbnail
{content.title}
{content.summary}
{content.published_at ? `Published: ${formatUnixTimestamp(content.published_at)}` : "not yet published"}
); }; export default SelectedContentItem;