From 2caef2c1723801e6145331003e7b430e9772b65a Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 22 Sep 2023 23:48:39 -0700
Subject: feat(tools): move activity history

---
 src/routes/tools/+page.svelte | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/routes/tools/+page.svelte')

diff --git a/src/routes/tools/+page.svelte b/src/routes/tools/+page.svelte
index 53ace72b..1bf7a4a3 100644
--- a/src/routes/tools/+page.svelte
+++ b/src/routes/tools/+page.svelte
@@ -1,6 +1,9 @@
 <script lang="ts">
+	import ActivityHistory from '$lib/ActivityHistory.svelte';
 	import { todaysCharacterBirthdays } from '$lib/AniList/character';
 
+	export let data;
+
 	let tool: number;
 </script>
 
@@ -8,11 +11,14 @@
 	<select bind:value={tool}>
 		<option value={0}>Tools</option>
 		<option value={1}>Today's Character Birthdays</option>
+		<option value={2}>Activity History Hole Risks</option>
 	</select>
 </p>
 
 {#if tool === 0}
 	Select a tool to continue.
+{:else if tool === 2}
+	<ActivityHistory user={data.user} />
 {:else if tool === 1}
 	<ul>
 		{#await todaysCharacterBirthdays()}
-- 
cgit v1.2.3

