logout, hover transition and small fixes

This commit is contained in:
kurpfish
2021-08-09 15:10:12 +03:00
parent 5880137dd8
commit f0a92fd8f2
20 changed files with 218 additions and 39 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;