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

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