protect some common pages
This commit is contained in:
@ -1,13 +1,16 @@
|
||||
import React from 'react';
|
||||
import Layout from "../components/layout";
|
||||
import FeedbackForm from "../components/reports/FeedbackForm";
|
||||
import ProtectedRoute from "../components/protectedRoute";
|
||||
|
||||
const ContactsPage = () => {
|
||||
return (
|
||||
<Layout>
|
||||
<div className="h-5/6 grid place-items-center">
|
||||
<FeedbackForm />
|
||||
</div>
|
||||
<ProtectedRoute>
|
||||
<div className="h-5/6 grid place-items-center">
|
||||
<FeedbackForm />
|
||||
</div>
|
||||
</ProtectedRoute>
|
||||
</Layout >
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user