import { PostPage } from "components/PostPage"; import { getPostStaticProps, PostStaticProps } from "graphql/getPostStaticProps"; import { useFormat } from "hooks/useFormat"; /* * ╭────────╮ * ──────────────────────────────────────────╯ PAGE ╰───────────────────────────────────────────── */ const Legality = (props: PostStaticProps): JSX.Element => { const { format } = useFormat(); return ( ); }; export default Legality; /* * ╭──────────────────────╮ * ───────────────────────────────────╯ NEXT DATA FETCHING ╰────────────────────────────────────── */ export const getStaticProps = getPostStaticProps("legality");