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

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