Move homePage components
This commit is contained in:
1 parent
030bb28dd7
commit
d2639f3c87
6 files changed
+5
-5
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import styles from "./HomePage.module.css";
|
||||
import Calendar from "../../components/homePage/calendar.jsx";
|
||||
import EventList from "../../components/homePage/eventList.jsx";
|
||||
import Calendar from "./components/Calendar/calendar.jsx";
|
||||
import EventList from "./components/EventList/eventList.jsx";
|
||||
import { useState, useEffect } from "react";
|
||||
import getAllEvents from "../../utils/events/getAllEvents.js";
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { useState, useMemo, useEffect } from "react";
|
||||
import styles from "./calendar.module.css";
|
||||
import { formatDateLetterJS } from "../../utils/date/formatDateLetter.js";
|
||||
import { formatDateLetterJS } from "../../../../utils/date/formatDateLetter.js";
|
||||
|
||||
function Calendar({ events = [] }) {
|
||||
|
||||
File renamed without changes.
+1
-1
@@ -1,5 +1,5 @@
|
||||
import styles from "./eventList.module.css";
|
||||
import { formatDateLetter } from "../../utils/date/formatDateLetter.js";
|
||||
import { formatDateLetter } from "../../../../utils/date/formatDateLetter.js";
|
||||
import { useState } from "react";
|
||||
|
||||
export default function EventItem({ eventGroup }) {
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { useMemo } from "react";
|
||||
import styles from "./eventList.module.css";
|
||||
import EventItem from "./eventItem";
|
||||
import EventItem from "./eventItem.jsx";
|
||||
|
||||
|
||||
function EventList({ events }) {
|
||||
File renamed without changes.
Reference in new issue
Block a user