From b95bf21db3dc6226311e98fd7e0f0862d517a516 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 23 Jan 2026 22:46:57 -0800
Subject: refactor(lib): Migrate simple components to Svelte 5 runes syntax

---
 src/lib/Home/LastActivity.svelte | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/lib/Home/LastActivity.svelte')

diff --git a/src/lib/Home/LastActivity.svelte b/src/lib/Home/LastActivity.svelte
index cfd01534..61cf6c7d 100644
--- a/src/lib/Home/LastActivity.svelte
+++ b/src/lib/Home/LastActivity.svelte
@@ -5,9 +5,8 @@
   import { lastActivityDate } from '../Data/AniList/activity';
   import settings from '$stores/settings';
 
-  export let user: AniListAuthorisation;
-
-  let lastActivityWasToday = true;
+  let { user }: { user: AniListAuthorisation } = $props();
+  let lastActivityWasToday = $state(true);
 
   onMount(async () => {
     if (!$settings.displayDisableLastActivityWarning && user !== undefined) {
-- 
cgit v1.2.3

