mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 08:23:16 +00:00
remove unused register success pages
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
import { Button, ButtonVariants } from "#/ui/Button";
|
|
||||||
import Link from "next/link";
|
|
||||||
|
|
||||||
type Props = {
|
|
||||||
searchParams: { [key: string]: string | string[] | undefined };
|
|
||||||
};
|
|
||||||
export default async function Page({ searchParams }: Props) {
|
|
||||||
return (
|
|
||||||
<div className="flex flex-col items-center space-y-4">
|
|
||||||
<h1>Registration successful</h1>
|
|
||||||
<p className="ztdl-p">You are registered.</p>
|
|
||||||
|
|
||||||
{`userId: ${searchParams["userid"]}`}
|
|
||||||
<Link href="/register">
|
|
||||||
<Button variant={ButtonVariants.Primary}>back</Button>
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
import { Button, ButtonVariants } from "#/ui/Button";
|
|
||||||
import Link from "next/link";
|
|
||||||
|
|
||||||
type Props = {
|
|
||||||
searchParams: { [key: string]: string | string[] | undefined };
|
|
||||||
};
|
|
||||||
export default async function Page({ searchParams }: Props) {
|
|
||||||
return (
|
|
||||||
<div className="flex flex-col items-center space-y-4">
|
|
||||||
<h1>Registration successful</h1>
|
|
||||||
<p className="ztdl-p">You are registered.</p>
|
|
||||||
|
|
||||||
{`userId: ${searchParams["userid"]}`}
|
|
||||||
<Link href="/register">
|
|
||||||
<Button variant={ButtonVariants.Primary}>back</Button>
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user