remove unused import
This commit is contained in:
parent
6accc0adcd
commit
109a0f98dd
@ -5,7 +5,6 @@ import AutocompleteMultiSelectField from "@Front/Components/DesignSystem/Form/Au
|
||||
import TextAreaField from "@Front/Components/DesignSystem/Form/TextareaField";
|
||||
import TextField from "@Front/Components/DesignSystem/Form/TextField";
|
||||
import Modal from "@Front/Components/DesignSystem/Modal";
|
||||
import Confirm from "@Front/Components/DesignSystem/OldModal/Confirm";
|
||||
import RadioBox from "@Front/Components/DesignSystem/RadioBox";
|
||||
import { DocumentType, OfficeFolder } from "le-coffre-resources/dist/Notary";
|
||||
import { ChangeEvent, useCallback, useEffect, useState } from "react";
|
||||
@ -126,24 +125,23 @@ export default function ParameterDocuments(props: IProps) {
|
||||
title={"Ajouter un document"}>
|
||||
<div className={classes["root"]}>
|
||||
<div className={classes["radiobox-container"]}>
|
||||
<RadioBox
|
||||
name="document"
|
||||
onChange={selectEditMode}
|
||||
checked={addOrEditDocument === "edit"}
|
||||
value={"existing client"}
|
||||
label="Document existant"
|
||||
/>
|
||||
<RadioBox
|
||||
name="document"
|
||||
onChange={selectEditMode}
|
||||
checked={addOrEditDocument === "edit"}
|
||||
value={"existing client"}
|
||||
label="Document existant"
|
||||
/>
|
||||
|
||||
<RadioBox
|
||||
name="document"
|
||||
onChange={selectAddMode}
|
||||
checked={addOrEditDocument === "add"}
|
||||
value={"new client"}
|
||||
label="Créer un document"
|
||||
/>
|
||||
<RadioBox
|
||||
name="document"
|
||||
onChange={selectAddMode}
|
||||
checked={addOrEditDocument === "add"}
|
||||
value={"new client"}
|
||||
label="Créer un document"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
{addOrEditDocument === "add" && (
|
||||
<>
|
||||
<TextField name="document_name" placeholder="Nom du document à ajouter" onChange={onDocumentNameChange} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user