diff --git a/src/lib/components/Timeline.svelte b/src/lib/components/Timeline.svelte index b9821a8..bb6bece 100644 --- a/src/lib/components/Timeline.svelte +++ b/src/lib/components/Timeline.svelte @@ -2,8 +2,8 @@ import type { ActionData } from '$lib/types'; import Action from './Action.svelte'; - let { actions = $bindable() }: { actions: ActionData[] } = $props() - let latestActions: ActionData[] = $derived(actions.toReversed().slice(0, 5)) + let { actions = $bindable() }: { actions: ActionData[] } = $props(); + let latestActions: ActionData[] = $derived(actions.toReversed().slice(0, 5));