Skip to content

Commit

Permalink
remove unused props for events on startpage
Browse files Browse the repository at this point in the history
  • Loading branch information
jstet committed Aug 26, 2024
1 parent 20459b7 commit 972fd87
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/routes/[[locale=locale]]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,19 @@
<div class="grid gap-6">
{#each events as event}
<EventsCard
{...(({date, localChapterNames, ...rest}) => rest)(event)}
{...(({
date,
localChapterNames,
start,
end,
id,
extendedProps,
allDay,
editable,
startEditable,
durationEditable,
...rest
}) => rest)(event)}
/>
{/each}
</div>
Expand Down

0 comments on commit 972fd87

Please sign in to comment.