<script lang="ts">
	import AggregatedFoodTable from '$components/AggregatedFood/AggregatedFoodTable.svelte'
	import { yearlyFoodStore } from '$lib/store/yearlyFoodStore'
	import { energyStore } from '$lib/store/energyStore'
</script>

<template>
	<AggregatedFoodTable items="{$yearlyFoodStore}"
	                     energyLimit="{$energyStore.limit * 365}"
	                     energyTarget="{$energyStore.target * 365}" />
</template>
