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