Use a common layout for all pages
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user