<script lang="ts" context="module">
	export const router = false;
</script>

<script lang="ts">
	import { onMount } from 'svelte';

	import { auth } from '$lib/stores';

	onMount(() => {
		$auth.logout();
		window.location.href = '/';
	});
</script>

<svelte:head>
	<title>Logging out... | CodeQuest</title>
</svelte:head>
