Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Update Footer component to ensure the current year is rendered as a string in the copyright notice, enhancing consistency in text rendering.

Bill Yangab63e62a8f1f
diff --git a/docs/src/components/Footer.tsx b/docs/src/components/Footer.tsx
index a95085714..26138420e 100644
--- a/docs/src/components/Footer.tsx
+++ b/docs/src/components/Footer.tsx
@@ -233,7 +233,7 @@ export function Footer() {
{/* Bottom Bar */}
<div className="pt-8 border-t border-neutral-200 dark:border-neutral-800">
<div className="flex flex-col md:flex-row items-center justify-between gap-4">
- <div className="text-sm text-neutral-400">{t("© {year} Rybbit. All rights reserved.", { year: new Date().getFullYear() })}</div>
+ <div className="text-sm text-neutral-400">{t("© {year} Rybbit. All rights reserved.", { year: String(new Date().getFullYear()) })}</div>
<LanguageSwitcher />
<div className="text-sm text-neutral-400">
{t("Made with ❤️ by frogs")}{" "}