Skip to content

Commit

Permalink
readd spillover visualiser
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanLyon committed May 5, 2024
1 parent f6040e0 commit dc8f00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/nextjs/pages/[event]/schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -567,14 +567,14 @@ function generateRunItems(
<DateDivider date={runDay} />
<div style={{ display: "flex", flexDirection: "column", height: "100%" }}>
<div className={styles.visualiser}>
{/* {yesterdayRunTime > 0 && yesterdaysFinalRun && (
{yesterdayRunTime > 0 && yesterdaysFinalRun && (
<RunVisualiser
run={runDays[i - 1].runs.at(-1)!}
proportion={(yesterdayRunTime / totalSeconds) * 100}
block={blocks.get(yesterdaysFinalRun.id)}
key={`spillover-${yesterdaysFinalRun.id}`}
/>
)} */}
)}
{runs.map((run, i) => {
let width =
(Math.max(runEstimateToSeconds(run.estimate), 300) / totalSeconds) * 100;
Expand Down

0 comments on commit dc8f00a

Please sign in to comment.