fix build errors
This commit is contained in:
parent
8505667f73
commit
eadc98fbbe
|
@ -22,6 +22,7 @@ export default function Announcement({ toggleAnnouncementBar }: Props) {
|
|||
href={`https://blog.linkwarden.app/releases/${announcementId}`}
|
||||
target="_blank"
|
||||
className="underline"
|
||||
key={0}
|
||||
/>,
|
||||
]}
|
||||
/>
|
||||
|
|
|
@ -33,6 +33,7 @@ const InstallApp = (props: Props) => {
|
|||
className="underline"
|
||||
target="_blank"
|
||||
href="https://docs.linkwarden.app/getting-started/pwa-installation"
|
||||
key={0}
|
||||
/>,
|
||||
]}
|
||||
/>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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") {
|
||||
|
|
|
@ -258,11 +258,13 @@ export default function Register({
|
|||
href="https://linkwarden.app/tos"
|
||||
className="font-semibold"
|
||||
data-testid="terms-of-service-link"
|
||||
key={0}
|
||||
/>,
|
||||
<Link
|
||||
href="https://linkwarden.app/privacy-policy"
|
||||
className="font-semibold"
|
||||
data-testid="privacy-policy-link"
|
||||
key={1}
|
||||
/>,
|
||||
]}
|
||||
/>
|
||||
|
|
|
@ -63,9 +63,8 @@ export default function Subscribe() {
|
|||
<a
|
||||
className="font-semibold"
|
||||
href="mailto:support@linkwarden.app"
|
||||
>
|
||||
support@linkwarden.app
|
||||
</a>,
|
||||
key={0}
|
||||
/>,
|
||||
]}
|
||||
/>
|
||||
</p>
|
||||
|
|
|
@ -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>support@linkwarden.app</0> in case of any issue.",
|
||||
"monthly": "Monthly",
|
||||
"yearly": "Yearly",
|
||||
"discount_percent": "{{percent}}% Off",
|
||||
|
|
Ŝarĝante…
Reference in New Issue