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}`}
|
href={`https://blog.linkwarden.app/releases/${announcementId}`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
className="underline"
|
className="underline"
|
||||||
|
key={0}
|
||||||
/>,
|
/>,
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -33,6 +33,7 @@ const InstallApp = (props: Props) => {
|
||||||
className="underline"
|
className="underline"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href="https://docs.linkwarden.app/getting-started/pwa-installation"
|
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">
|
<div role="note" className="alert alert-note mt-5">
|
||||||
<i className="bi-exclamation-triangle text-xl" />
|
<i className="bi-exclamation-triangle text-xl" />
|
||||||
<span>
|
<span>
|
||||||
<Trans i18nKey="password_change_note" components={[<b />]} />
|
<Trans
|
||||||
|
i18nKey="password_change_note"
|
||||||
|
components={[<b key={0} />]}
|
||||||
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@ import { useTranslation } from "next-i18next";
|
||||||
|
|
||||||
const VerifyEmail = () => {
|
const VerifyEmail = () => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const { t } = useTranslation();
|
|
||||||
const token = router.query.token;
|
const token = router.query.token;
|
||||||
|
|
||||||
if (!token || typeof token !== "string") {
|
if (!token || typeof token !== "string") {
|
||||||
|
|
|
@ -258,11 +258,13 @@ export default function Register({
|
||||||
href="https://linkwarden.app/tos"
|
href="https://linkwarden.app/tos"
|
||||||
className="font-semibold"
|
className="font-semibold"
|
||||||
data-testid="terms-of-service-link"
|
data-testid="terms-of-service-link"
|
||||||
|
key={0}
|
||||||
/>,
|
/>,
|
||||||
<Link
|
<Link
|
||||||
href="https://linkwarden.app/privacy-policy"
|
href="https://linkwarden.app/privacy-policy"
|
||||||
className="font-semibold"
|
className="font-semibold"
|
||||||
data-testid="privacy-policy-link"
|
data-testid="privacy-policy-link"
|
||||||
|
key={1}
|
||||||
/>,
|
/>,
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -63,9 +63,8 @@ export default function Subscribe() {
|
||||||
<a
|
<a
|
||||||
className="font-semibold"
|
className="font-semibold"
|
||||||
href="mailto:support@linkwarden.app"
|
href="mailto:support@linkwarden.app"
|
||||||
>
|
key={0}
|
||||||
support@linkwarden.app
|
/>,
|
||||||
</a>,
|
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
"nothing_found": "Nothing found.",
|
"nothing_found": "Nothing found.",
|
||||||
"redirecting_to_stripe": "Redirecting to Stripe...",
|
"redirecting_to_stripe": "Redirecting to Stripe...",
|
||||||
"subscribe_title": "Subscribe to Linkwarden!",
|
"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",
|
"monthly": "Monthly",
|
||||||
"yearly": "Yearly",
|
"yearly": "Yearly",
|
||||||
"discount_percent": "{{percent}}% Off",
|
"discount_percent": "{{percent}}% Off",
|
||||||
|
|
Ŝarĝante…
Reference in New Issue