From fa1f9873d59c39e24e4f197c09d4066698849ca0 Mon Sep 17 00:00:00 2001 From: daniel31x13 Date: Wed, 30 Oct 2024 13:56:07 -0400 Subject: [PATCH] minor change --- pages/member-onboarding.tsx | 8 ++------ public/locales/en/common.json | 3 +-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/pages/member-onboarding.tsx b/pages/member-onboarding.tsx index 57aad68..fce49b5 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) { event.preventDefault(); @@ -71,7 +67,7 @@ export default function MemberOnboarding() {

- {t("finalize_profile")} + {t("invitation_accepted")}

diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 6db7bb0..16f4d12 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",