guild_front/src/pages/CalendarPage.js

12 lines
367 B
JavaScript
Raw Normal View History

2021-06-16 17:51:25 +03:00
import React from 'react';
import { useNavigate } from 'react-router-dom';
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 = () => {
const navigate = useNavigate();
return <WithLogout><Calendar onSelect={() => { navigate('/report/0') }} /></WithLogout>;
2021-06-16 17:51:25 +03:00
};
export default CalendarPage;