import { IStream } from "@/lib/streams"; import Link from "next/link" import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faCalendar } from "@fortawesome/free-solid-svg-icons"; export function StreamButton({ stream }: { stream: IStream }) { if (!stream) return <> // return

{JSON.stringify(stream, null, 2)}

// return {new Date(stream.attributes.date).toLocaleDateString()} return ( {new Date(stream.attributes.date).toLocaleDateString()} ) }