mirror of
https://github.com/UiO-Gaming/mustaboard.git
synced 2026-11-05 13:56:52 +01:00
correct unused references in events
This commit is contained in:
1 parent
e4abae84f7
commit
03c042bd78
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||||
Reference in new issue
Block a user