fix and consolidate calendar dates usage and format

This commit is contained in:
Dobromir Popov
2024-03-04 00:20:43 +02:00
parent 6043df6ad1
commit 0bb57ced17
3 changed files with 37 additions and 15 deletions

View File

@ -7,7 +7,7 @@ import axiosInstance from '../../src/axiosSecure';
import { monthNamesBG, GetTimeFormat, GetDateFormat } from "../../src/helpers/const"
import common from "../../src/helpers/common";
type Assignment = {
type Assignments = {
items: {
[key: string]: any[];
};
@ -18,7 +18,7 @@ type Assignment = {
};
type ShiftsListProps = {
assignments: Assignment;
assignments: Assignments;
selectedtab: string;
};