Merge branch 'dev' into staging
This commit is contained in:
commit
243879b7ea
@ -1,13 +1,13 @@
|
|||||||
import React, { useCallback } from "react";
|
import React from "react";
|
||||||
import classes from "./classes.module.scss";
|
import classes from "./classes.module.scss";
|
||||||
import Typography, { ITypo } from "@Front/Components/DesignSystem/Typography";
|
import Typography, { ITypo } from "@Front/Components/DesignSystem/Typography";
|
||||||
import Image from "next/image";
|
//import Image from "next/image";
|
||||||
import Form from "@Front/Components/DesignSystem/Form";
|
import Form from "@Front/Components/DesignSystem/Form";
|
||||||
import TextField from "@Front/Components/DesignSystem/Form/TextField";
|
import TextField from "@Front/Components/DesignSystem/Form/TextField";
|
||||||
import Button, { EButtonVariant } from "@Front/Components/DesignSystem/Button";
|
import Button, { EButtonVariant } from "@Front/Components/DesignSystem/Button";
|
||||||
import franceConnectLogo from "../france-connect.svg";
|
//import franceConnectLogo from "../france-connect.svg";
|
||||||
import { useRouter } from "next/router";
|
// import { useRouter } from "next/router";
|
||||||
import Customers from "@Front/Api/Auth/Id360/Customers/Customers";
|
// import Customers from "@Front/Api/Auth/Id360/Customers/Customers";
|
||||||
import { ValidationError } from "class-validator";
|
import { ValidationError } from "class-validator";
|
||||||
type IProps = {
|
type IProps = {
|
||||||
onSubmit: (e: React.FormEvent<HTMLFormElement> | null, values: { [key: string]: string }) => void;
|
onSubmit: (e: React.FormEvent<HTMLFormElement> | null, values: { [key: string]: string }) => void;
|
||||||
@ -16,7 +16,7 @@ type IProps = {
|
|||||||
|
|
||||||
export default function StepEmail(props: IProps) {
|
export default function StepEmail(props: IProps) {
|
||||||
const { onSubmit, validationErrors } = props;
|
const { onSubmit, validationErrors } = props;
|
||||||
const router = useRouter();
|
/* const router = useRouter();
|
||||||
const redirectCustomerOnConnection = useCallback(() => {
|
const redirectCustomerOnConnection = useCallback(() => {
|
||||||
async function getCustomer() {
|
async function getCustomer() {
|
||||||
try {
|
try {
|
||||||
@ -27,7 +27,7 @@ export default function StepEmail(props: IProps) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
getCustomer();
|
getCustomer();
|
||||||
}, [router]);
|
}, [router]); */
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classes["root"]}>
|
<div className={classes["root"]}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user