2021-06-16 17:51:25 +03:00
|
|
|
import React from 'react';
|
2021-12-07 10:58:19 +03:00
|
|
|
import { useHistory } from 'react-router';
|
2021-08-09 15:10:12 +03:00
|
|
|
import { WithLogout } from '../hoc/withLogout';
|
2021-06-16 17:51:25 +03:00
|
|
|
import Calendar from '../components/Calendar/Calendar';
|
|
|
|
|
2021-07-02 16:02:47 +03:00
|
|
|
const CalendarPage = () => {
|
2021-12-07 10:58:19 +03:00
|
|
|
const history = useHistory();
|
|
|
|
return <WithLogout><Calendar onSelect={() => { history.push('/report/0') }} /></WithLogout>;
|
2021-06-16 17:51:25 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
export default CalendarPage;
|