From 9ec5b7205d909e1f1b1d9d128c8c47750cc17f54 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 8 Feb 2024 00:09:32 -0800
Subject: feat: use global login restriction warning

---
 src/lib/Tools/SequelSpy.svelte | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'src/lib/Tools/SequelSpy.svelte')

diff --git a/src/lib/Tools/SequelSpy.svelte b/src/lib/Tools/SequelSpy.svelte
index 4a8d7b12..480fba36 100644
--- a/src/lib/Tools/SequelSpy.svelte
+++ b/src/lib/Tools/SequelSpy.svelte
@@ -18,7 +18,7 @@
 	import HoverCover from '$lib/Media/Cover/HoverCover.svelte';
 	import Skeleton from '$lib/Loading/Skeleton.svelte';
 	import identity from '$stores/identity';
-	import Popup from '$lib/Popup.svelte';
+	import LogInRestricted from '$lib/Error/LogInRestricted.svelte';
 
 	export let user: AniListAuthorisation;
 
@@ -48,9 +48,7 @@
 </script>
 
 {#if user === undefined || $identity.id === -2}
-	<Popup fullscreen locked>
-		<div class="message">Please log in to view this page.</div>
-	</Popup>
+	<LogInRestricted />
 {:else}
 	<div class="card">
 		<p>
-- 
cgit v1.2.3

