Skip to content

Commit

Permalink
Reformat.
Browse files Browse the repository at this point in the history
  • Loading branch information
eswan18 committed Nov 25, 2023
1 parent 3140ea9 commit 19f2922
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/(protected)/workouts/WorkoutView/LiveWorkoutCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import { formatDurationHMS } from "@/lib/time";
import { WorkoutWithType } from "@/lib/resources/apiTypes";
import { useEffect, useState } from "react";

export default function LiveWorkoutCard({ workout }: { workout: WorkoutWithType }) {
export default function LiveWorkoutCard({
workout,
}: {
workout: WorkoutWithType;
}) {
const startTime = new Date(workout.start_time);
const [now, setNow] = useState(new Date());

Expand Down Expand Up @@ -35,4 +39,4 @@ export default function LiveWorkoutCard({ workout }: { workout: WorkoutWithType
</CardContent>
</Card>
);
}
}

0 comments on commit 19f2922

Please sign in to comment.