Merge branch 'dev' of github.com:smart-chain-fr/leCoffre-front into dev

This commit is contained in:
Maxime Lalo 2024-07-23 15:43:04 +02:00
commit 7530435acc
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ class ToastElementClass extends React.Component<IPropsClass, IState> {
data-clickable={toast.redirectUrl ? true : false}
onClick={this.handleClick}>
{toast.time !== 0 && <div className={classes["loadbar"]} style={style} />}
<div className={classes["header"]} onClick={this.onClose}>
<div className={classes["header"]}>
<div className={classes["text-icon_row"]}>
{toast.icon && toast.icon}
<div className={classes["text-container"]}>

View File

@ -84,14 +84,14 @@ class UpdateClientClass extends BasePage<IPropsClass, IState> {
<div className={classes["content"]}>
<TextField
name="first_name"
placeholder="Nom"
placeholder="Prénom"
onChange={this.onChangeNameInput}
defaultValue={this.state.customer?.contact?.first_name}
validationError={this.state.validationError.find((error) => error.property === "first_name")}
/>
<TextField
name="last_name"
placeholder="Prénom"
placeholder="Nom"
onChange={this.onChangeFirstNameInput}
defaultValue={this.state.customer?.contact?.last_name}
validationError={this.state.validationError.find((error) => error.property === "last_name")}