logout, hover transition and small fixes
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
import React from 'react';
|
||||
import { WithLogout } from '../hoc/withLogout';
|
||||
import Calendar from '../components/Calendar/Calendar';
|
||||
|
||||
const CalendarPage = () => {
|
||||
return <Calendar />;
|
||||
return <WithLogout><Calendar /></WithLogout>;
|
||||
};
|
||||
|
||||
export default CalendarPage;
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
|
||||
import { WithLogout } from '../hoc/withLogout';
|
||||
import Candidate from '../components/Candidate/Candidate';
|
||||
|
||||
const CandidatePage = () => <Candidate />;
|
||||
const CandidatePage = () => <WithLogout><Candidate /></WithLogout>;
|
||||
|
||||
export default CandidatePage;
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import { WithLogout } from '../hoc/withLogout';
|
||||
import Form from '../components/Form/Form';
|
||||
|
||||
const FormPage = () => <Form />;
|
||||
const FormPage = () => <WithLogout><Form /></WithLogout>;
|
||||
|
||||
export default FormPage;
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
|
||||
import { WithLogout } from '../hoc/withLogout';
|
||||
import Home from '../components/Home/Home';
|
||||
|
||||
const HomePage = () => <Home />;
|
||||
const HomePage = () => <WithLogout><Home /></WithLogout>;
|
||||
|
||||
export default HomePage;
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import { WithLogout } from '../hoc/withLogout';
|
||||
import ReportForm from '../components/ReportForm/ReportForm';
|
||||
|
||||
const ReportFormPage = () => <ReportForm />;
|
||||
const ReportFormPage = () => <WithLogout><ReportForm /></WithLogout>;
|
||||
|
||||
export default ReportFormPage;
|
||||
|
Reference in New Issue
Block a user