remove unecessary code

This commit is contained in:
2025-12-07 17:13:44 +01:00
parent a0462450fd
commit 8275bd1643
2 changed files with 32 additions and 26 deletions
+4 -26
View File
@@ -3,6 +3,7 @@ import Event from "../../components/Event/Event.jsx";
import styles from "./EventsPage.module.css";
import ToolBar from "../../components/ToolBar/ToolBar.jsx";
import filter from "../../utils/filter.js";
import getAllEvents from "../../utils/event/getAllEvents.js";
function EventsPage(){
@@ -12,32 +13,9 @@ function EventsPage(){
});
const [events] = useState([
{
id: 1,
name: "Marathon de la Ville",
description: "Participez au marathon annuel et soutenez les associations locales.",
image: null,
tasks: [
{
name: "Inscription des participants",
start: "2018-09-24 22:21:20",
end: "2018-09-24 22:21:20",
place: "Centre sportif",
description: "Accueillir et enregistrer tous les coureurs.",
volunteers_count: 5
},
{
name: "Distribution des dossards",
start: "2018-09-24 22:21:20",
end: "2018-09-24 22:21:20",
place: "Salle principale",
description: "Remettre les dossards et goodies aux participants.",
volunteers_count: 3
},
]
}
*/
const [events, setEvents] = useState([]);
useEffect(() => {
(async () => {