Refactor components and styles.

This commit is contained in:
Mike Cao 2020-08-03 18:12:28 -07:00
parent c5599f1e20
commit a2db27894f
16 changed files with 189 additions and 184 deletions

View file

@ -1,15 +0,0 @@
import React from 'react';
import { useRouter } from 'next/router';
import Layout from 'components/Layout';
import WebsiteDetails from '../components/WebsiteDetails';
export default function DetailsPage() {
const router = useRouter();
const { id } = router.query;
return (
<Layout>
<WebsiteDetails websiteId={id} />
</Layout>
);
}