Skip to content

Commit ab63e62

Browse files
committed
Update Footer component to ensure the current year is rendered as a string in the copyright notice, enhancing consistency in text rendering.
1 parent 4a76c4e commit ab63e62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export function Footer() {
233233
{/* Bottom Bar */}
234234
<div className="pt-8 border-t border-neutral-200 dark:border-neutral-800">
235235
<div className="flex flex-col md:flex-row items-center justify-between gap-4">
236-
<div className="text-sm text-neutral-400">{t("© {year} Rybbit. All rights reserved.", { year: new Date().getFullYear() })}</div>
236+
<div className="text-sm text-neutral-400">{t("© {year} Rybbit. All rights reserved.", { year: String(new Date().getFullYear()) })}</div>
237237
<LanguageSwitcher />
238238
<div className="text-sm text-neutral-400">
239239
{t("Made with ❤️ by frogs")}{" "}

0 commit comments

Comments
 (0)