From 2725f7783c0bb62de6572733c870063028c3e46f Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 12 Nov 2023 20:21:47 -0800
Subject: feat(tools): grid and avatar for birthdays

---
 src/lib/Error.svelte | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

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

diff --git a/src/lib/Error.svelte b/src/lib/Error.svelte
index affbb429..a78fceb4 100644
--- a/src/lib/Error.svelte
+++ b/src/lib/Error.svelte
@@ -1,10 +1,12 @@
+<script lang="ts">
+	export let type = 'Media';
+</script>
+
 <ul>
 	<li>
 		<p>
-			Media could not be loaded. You might have been <a
-				href="https://en.wikipedia.org/wiki/Rate_limiting"
-				target="_blank">rate limited</a
-			>.
+			{type} could not be loaded. You might have been
+			<a href="https://en.wikipedia.org/wiki/Rate_limiting" target="_blank">rate limited</a>.
 		</p>
 		<p>
 			Try again in a few minutes. If the problem persists, please contact
-- 
cgit v1.2.3

