2024-11-01 17:49:56 +00:00
|
|
|
<script lang="ts">
|
|
|
|
import { setContextClient } from '@urql/svelte';
|
|
|
|
import { newClient } from '$lib/client';
|
|
|
|
import '../app.css';
|
|
|
|
|
|
|
|
const { children } = $props();
|
|
|
|
setContextClient(newClient(import.meta.env.VITE_GRAPH_URL ?? ''));
|
2024-10-22 18:49:08 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
{@render children()}
|