diff --git a/.vscode/settings.json b/.vscode/settings.json index e5de7edc..f8561e6f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,7 +8,7 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[typescriptreact]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "vscode.typescript-language-features" }, "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" diff --git a/src/views/components/common/CalendarGrid/CalendarGrid.tsx b/src/views/components/common/CalendarGrid/CalendarGrid.tsx index f653b5bd..4896108a 100644 --- a/src/views/components/common/CalendarGrid/CalendarGrid.tsx +++ b/src/views/components/common/CalendarGrid/CalendarGrid.tsx @@ -11,27 +11,26 @@ const hoursOfDay = Array.from({ length: 14 }, (_, index) => index + 8); * @param props */ const Calendar: React.FC = (props) => { - - return ( -
-
- {daysOfWeek.map((day, dayIndex) => ( -
-
-
{day}
-
- {hoursOfDay.map((hour) => ( -
-
- {hour}:00 -
- -
- ))} + return ( +
+
+ {daysOfWeek.map((day, dayIndex) => ( +
+
+
{day}
- ))} -
- ); - }; - - export default Calendar; \ No newline at end of file + {hoursOfDay.map((hour) => ( +
+
+ {hour}:00 +
+ +
+ ))} +
+ ))} +
+ ); +}; + +export default Calendar; \ No newline at end of file