add empty forms page

This commit is contained in:
Victor Batischev
2024-03-06 14:08:06 +03:00
parent 46c91cfbff
commit 23e8c5c683
36 changed files with 93 additions and 73 deletions

View File

@ -15,7 +15,7 @@ import { currentMonth } from "../../utils/calendarHelper";
import CalendarComponent from "./CalendarComponent";
import "./calendar.scss";
const Calendar = () => {
export const Calendar = () => {
if (localStorage.getItem("role_status") !== "18") {
return <Navigate to="/profile" replace />;
}
@ -84,5 +84,3 @@ const Calendar = () => {
</div>
);
};
export default Calendar;