import ReactMarkdown from "react-markdown"; import Moment from "react-moment"; import ARTICLE_QUERY from "../../apollo/queries/article/article"; import { useRouter } from "next/router"; import { withApollo } from "../../utils/apollo"; import Query from "../../components/query"; import Layout from "../../components/Layout" const Article = () => { const router = useRouter(); return ( {({ data: { article } }) => { return (

{article.published_at}

); }}
); }; export default withApollo(Article);