mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-04 19:39:39 -05:00
36378e9c23
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
18 lines
558 B
TypeScript
18 lines
558 B
TypeScript
import { FormWrapper } from "@/modules/auth/components/form-wrapper";
|
|
import { SignIn } from "@/modules/auth/verify/components/sign-in";
|
|
import { getTranslate } from "@/tolgee/server";
|
|
|
|
export const VerifyPage = async ({ searchParams }) => {
|
|
const t = await getTranslate();
|
|
const { token } = await searchParams;
|
|
|
|
return token ? (
|
|
<FormWrapper>
|
|
<p className="text-center">{t("auth.verify.verifying")}</p>
|
|
<SignIn token={token} />
|
|
</FormWrapper>
|
|
) : (
|
|
<p className="text-center">{t("auth.verify.no_token_provided")}</p>
|
|
);
|
|
};
|