⚡️⚡️⚡️ 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
minor change
daniel31x13fa1f9873d59c
diff --git a/pages/member-onboarding.tsx b/pages/member-onboarding.tsxindex 57aad687..fce49b5a 100644--- a/pages/member-onboarding.tsx+++ b/pages/member-onboarding.tsx@@ -3,7 +3,7 @@ import TextInput from "@/components/TextInput";import CenteredForm from "@/layouts/CenteredForm";import Link from "next/link";import { useRouter } from "next/router";-import { FormEvent, useEffect, useState } from "react";+import { FormEvent, useState } from "react";import { toast } from "react-hot-toast";import getServerSideProps from "@/lib/client/getServerSideProps";import { Trans, useTranslation } from "next-i18next";@@ -27,10 +27,6 @@ export default function MemberOnboarding() {const { data: user = {} } = useUser();const updateUser = useUpdateUser();- useEffect(() => {- toast.success(t("accepted_invitation_please_fill"));- }, []);-async function submit(event: FormEvent<HTMLFormElement>) {event.preventDefault();@@ -71,7 +67,7 @@ export default function MemberOnboarding() {<form onSubmit={submit}><div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-base-200 rounded-2xl shadow-md border border-neutral-content"><p className="text-3xl text-center font-extralight">- {t("finalize_profile")}+ {t("invitation_accepted")}</p><div className="divider my-0"></div>diff --git a/public/locales/en/common.json b/public/locales/en/common.jsonindex 6db7bb04..16f4d124 100644--- a/public/locales/en/common.json+++ b/public/locales/en/common.json@@ -404,9 +404,8 @@"invite_user_note": "Please note that once the invitation is accepted, an additional seat will be purchased and your account will automatically be billed for this addition.","send_invitation": "Send Invitation","learn_more": "Learn more",- "finalize_profile": "Finalize Your Profile","invitation_desc": "{{owner}} invited you to join Linkwarden. \nTo continue, please finish setting up your account.",- "accepted_invitation_please_fill": "You've accepted the invitation to join Linkwarden. Please fill out the following to finalize your account.",+ "invitation_accepted": "Invitation Accepted!","status": "Status","pending": "Pending","active": "Active",