correct unused references in events

This commit is contained in:
centauridesigns committed 2024-10-15 17:20:07 +02:00
1 parent e4abae84f7
commit 03c042bd78
1 file changed
+2 -2
+2 -2
View File
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react"; import { useEffect, useState } from "react";
const SanityEvents = () => { const SanityEvents = () => {
const [events, setEvents] = useState([]); const [events, setEvents] = useState([]);
@@ -30,7 +30,7 @@ const SanityEvents = () => {
fetchData(); fetchData();
}, [projectId, dataset]); }, [projectId, dataset]);
return event; return events;
} }
export default SanityEvents; export default SanityEvents;