Use a common layout for all pages

This commit is contained in:
Kurt Hutten
2020-11-02 07:09:22 +11:00
parent 86df1d501d
commit faffc0f46d
20 changed files with 48 additions and 143 deletions

View File

@@ -1,11 +1,11 @@
import CommentsLayout from 'src/layouts/CommentsLayout'
import MainLayout from 'src/layouts/MainLayout'
import NewComment from 'src/components/NewComment'
const NewCommentPage = () => {
return (
<CommentsLayout>
<MainLayout>
<NewComment />
</CommentsLayout>
</MainLayout>
)
}