remove unused references 2

This commit is contained in:
centauridesigns committed 2024-10-16 11:41:48 +02:00
1 parent f82fe44722
commit 36db5fcfdd
3 files changed
+2 -9

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ const EventCard: React.FC<EventCardProps> = ({
const intervalId = setInterval(updateEvents, 60 * 1000);
return () => clearInterval(intervalId);
}, []);
}, [placeTimeAhead, recurringTimeAhead, specialTimeAhead]);
return (
<div className="flex flex-col bg-foreground rounded-lg p-3">
-7
View File
@@ -9,13 +9,6 @@ const InfoCard: React.FC = () => {
telephone: string;
}
interface Event {
name: string;
date: string;
time: string;
timeDiffMs?: number;
}
const data: Person[] = SanityPeople();
const person = data.find((person: Person) => person.telephone) || { name: "", telephone: "" };
+1 -1
View File
@@ -94,7 +94,7 @@ export default function Home() {
.map(
(ts: {
time: number;
data: { instant: { details: { air_temperature: any } } };
data: { instant: { details: { air_temperature: number } } };
}) => {
const date = new Date(ts.time);
const hour = date.getHours().toString().padStart(2, "0");