<Beer />

<Hst.Story>
	<Campaigns {campaigns} />
</Hst.Story>

<script>
	import { setContext } from 'svelte';

	export let Hst;
	import Beer from './Beer.svelte';
	import Campaigns from './Campaigns.svelte';
	import { genApi } from '$lib/store/api.js';

	global.__SVELTEKIT_APP_VERSION_POLL_INTERVAL__ = 1000;

	const campaigns = [{ name: 'Earth 613' }];

	setContext(
		'api',
		genApi({
			local: campaigns,
		}),
	);
</script>
