Skip to content

Commit

Permalink
Merge pull request #44 from gemini-hlsw/GSCHED-475
Browse files Browse the repository at this point in the history
Fixed deploy build error
  • Loading branch information
dngomez authored Aug 20, 2024
2 parents 2c8f19c + aa8db7e commit 25d1ed2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions src/components/Results/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className="flex align-items-center text-primary">
<span className="pi pi-moon mr-2"></span>
<span className="font-bold text-lg">{dateString}</span>
</div>
);
}

export default function Results({ plans }: { plans: NightPlanType[] }) {
function nightPlanTemplate(night: NightPlanType) {
return <NightPlan nightPlan={night} />;
Expand Down
2 changes: 1 addition & 1 deletion src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface Plan {
startTime: string;
visits: Visit[];
nightStats: NightStats;
nightConditions: NightConditions;
nightConditions?: NightConditions;
}

export interface NightConditions {
Expand Down

0 comments on commit 25d1ed2

Please sign in to comment.