⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
fix build errors
daniel31x13eadc98fbbe0f
diff --git a/components/Announcement.tsx b/components/Announcement.tsxindex 3186833a..2f97297e 100644--- a/components/Announcement.tsx+++ b/components/Announcement.tsx@@ -22,6 +22,7 @@ export default function Announcement({ toggleAnnouncementBar }: Props) {href={`https://blog.linkwarden.app/releases/${announcementId}`}target="_blank"className="underline"+ key={0}/>,]}/>diff --git a/components/InstallApp.tsx b/components/InstallApp.tsxindex 6fa4a61e..4b703093 100644--- a/components/InstallApp.tsx+++ b/components/InstallApp.tsx@@ -33,6 +33,7 @@ const InstallApp = (props: Props) => {className="underline"target="_blank"href="https://docs.linkwarden.app/getting-started/pwa-installation"+ key={0}/>,]}/>diff --git a/components/ModalContent/NewUserModal.tsx b/components/ModalContent/NewUserModal.tsxindex c0f2899d..d83ef400 100644--- a/components/ModalContent/NewUserModal.tsx+++ b/components/ModalContent/NewUserModal.tsx@@ -127,7 +127,10 @@ export default function NewUserModal({ onClose }: Props) {<div role="note" className="alert alert-note mt-5"><i className="bi-exclamation-triangle text-xl" /><span>- <Trans i18nKey="password_change_note" components={[<b />]} />+ <Trans+ i18nKey="password_change_note"+ components={[<b key={0} />]}+ /></span></div>diff --git a/pages/auth/verify-email.tsx b/pages/auth/verify-email.tsxindex 7b8e3b10..0a4d2987 100644--- a/pages/auth/verify-email.tsx+++ b/pages/auth/verify-email.tsx@@ -7,9 +7,9 @@ import { useTranslation } from "next-i18next";const VerifyEmail = () => {const router = useRouter();+ const { t } = useTranslation();useEffect(() => {- const { t } = useTranslation();const token = router.query.token;if (!token || typeof token !== "string") {diff --git a/pages/register.tsx b/pages/register.tsxindex af5476d5..4eba2bc3 100644--- a/pages/register.tsx+++ b/pages/register.tsx@@ -258,11 +258,13 @@ export default function Register({href="https://linkwarden.app/tos"className="font-semibold"data-testid="terms-of-service-link"+ key={0}/>,<Linkhref="https://linkwarden.app/privacy-policy"className="font-semibold"data-testid="privacy-policy-link"+ key={1}/>,]}/>diff --git a/pages/subscribe.tsx b/pages/subscribe.tsxindex 2b76b7a8..591863e6 100644--- a/pages/subscribe.tsx+++ b/pages/subscribe.tsx@@ -63,9 +63,8 @@ export default function Subscribe() {<aclassName="font-semibold"href="mailto:[email protected]"- >- </a>,+ key={0}+ />,]}/></p>diff --git a/public/locales/en/common.json b/public/locales/en/common.jsonindex ee55d410..7b6dd576 100644--- a/public/locales/en/common.json+++ b/public/locales/en/common.json@@ -76,7 +76,7 @@"nothing_found": "Nothing found.","redirecting_to_stripe": "Redirecting to Stripe...","subscribe_title": "Subscribe to Linkwarden!",- "subscribe_desc": "You will be redirected to Stripe, feel free to reach out to us at <0/> in case of any issue.",+ "subscribe_desc": "You will be redirected to Stripe, feel free to reach out to us at <0>[email protected]</0> in case of any issue.","monthly": "Monthly","yearly": "Yearly","discount_percent": "{{percent}}% Off",