remove dummy sessions

This commit is contained in:
Kiril Videlov 2023-02-08 22:17:27 +01:00
parent d00406e7da
commit bed187a605

View File

@ -1,7 +1,6 @@
<script lang="ts">
import type { PageData } from "./$types";
import { TimelineDay } from "$lib/components/timeline";
import { dummySessions } from "$lib/session";
export let data: PageData;
const { project, sessions } = data;
@ -11,7 +10,7 @@
{#if $project}
<TimelineDay
projectId={$project?.id}
sessions={Array(2).fill(dummySessions).flat().concat($sessions)}
sessions={$sessions}
/>
{/if}
</div>