diff --git a/src/components/Results/Results.tsx b/src/components/Results/Results.tsx
index d9c57a8..cfe400f 100644
--- a/src/components/Results/Results.tsx
+++ b/src/components/Results/Results.tsx
@@ -4,16 +4,6 @@ import { Carousel } from "primereact/carousel";
import "./Results.scss";
import { Panel } from "primereact/panel";
-function legendTemplate(startTime: string) {
- let dateString = startTime.substring(0, startTime.indexOf("T"));
- return (
-
-
- {dateString}
-
- );
-}
-
export default function Results({ plans }: { plans: NightPlanType[] }) {
function nightPlanTemplate(night: NightPlanType) {
return ;
diff --git a/src/types.d.ts b/src/types.d.ts
index 2e727d7..3651498 100644
--- a/src/types.d.ts
+++ b/src/types.d.ts
@@ -22,7 +22,7 @@ export interface Plan {
startTime: string;
visits: Visit[];
nightStats: NightStats;
- nightConditions: NightConditions;
+ nightConditions?: NightConditions;
}
export interface NightConditions {