22 lines
472 B
TypeScript
22 lines
472 B
TypeScript
import RegisterAlta from "@/app/Components/Alta/registerAlta";
|
|
|
|
import "./style.css";
|
|
|
|
export default async function Page(props: {
|
|
searchParams?: Promise<{
|
|
numAcount: string;
|
|
}>;
|
|
}) {
|
|
const params = await props.searchParams;
|
|
const numAcount = params?.numAcount ? params.numAcount : null;
|
|
|
|
return (
|
|
<section className="containerSection">
|
|
<h1 className="title">ALTA USUARIO</h1>
|
|
|
|
<RegisterAlta numCount={numAcount}/>
|
|
</section>
|
|
);
|
|
}
|
|
//IO
|