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

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