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

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