mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Adding analytics component to the base layout
This commit is contained in:
parent
cfbbf7debd
commit
cfa9a71503
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
import { fade } from 'svelte/transition';
|
||||
import debounce from 'just-debounce-it';
|
||||
import { Toy } from '@leveluptuts/svelte-toy';
|
||||
import Analytics from '$lib/components/analytics.svelte';
|
||||
import Header from '$lib/components/header/Header.svelte';
|
||||
import Loading from '$lib/components/loading.svelte';
|
||||
import Transition from '$lib/components/transition/index.svelte';
|
||||
|
|
@ -44,6 +45,7 @@
|
|||
const dev = process.env.NODE_ENV !== 'production';
|
||||
</script>
|
||||
|
||||
<Analytics />
|
||||
{#if dev}
|
||||
<Toy register={{ boredState, collectionStore, gameStore, toast }} />
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Reference in a new issue