From 898f13a1e37c3b00f5525355609c47edd0755008 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 24 Dec 2023 23:49:31 -0800
Subject: refactor(error): move rate-limited to module

---
 src/lib/Error.svelte | 23 -----------------------
 1 file changed, 23 deletions(-)
 delete mode 100644 src/lib/Error.svelte

(limited to 'src/lib/Error.svelte')

diff --git a/src/lib/Error.svelte b/src/lib/Error.svelte
deleted file mode 100644
index f00239dd..00000000
--- a/src/lib/Error.svelte
+++ /dev/null
@@ -1,23 +0,0 @@
-<script lang="ts">
-	export let type = 'Media';
-	export let loginSessionError = true;
-</script>
-
-<ul>
-	<li>
-		<p>
-			{type} could not be loaded. You might have been
-			<a href="https://en.wikipedia.org/wiki/Rate_limiting" target="_blank">rate limited</a>.
-		</p>
-		{#if loginSessionError}
-			<p>
-				Your login session may have expired. Try logging out and logging back in, or try again in a
-				few minutes.
-			</p>
-		{/if}
-		<p>
-			If the problem persists, please contact
-			<a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList.
-		</p>
-	</li>
-</ul>
-- 
cgit v1.2.3

