Skip to content

Commit

Permalink
fix(template): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Oct 23, 2024
1 parent a717968 commit efd5aed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/src/components/mail-form/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function TemplateResponseModal({ isOpen, onClose, setUserResponse }) {
return (
<Modal isOpen={isOpen} hide={onClose}>
<ModalContent>
<h2>Réponse Préparée</h2>
<h2>Réponse Préparée pour une demande d'accès à l'api</h2>
<TextInput
label="Identifiant"
value={user}
Expand All @@ -37,14 +37,13 @@ function TemplateResponseModal({ isOpen, onClose, setUserResponse }) {
/>
<TextInput
label="Mot de passe"
type="password"
value={mdp}
onChange={(e) => setMdp(e.target.value)}
placeholder="Entrez le mot de passe"
/>
<ButtonGroup>
<Button variant="secondary" onClick={handleClick}>
Utiliser une réponse préparée
Valider
</Button>
<Button variant="secondary" onClick={onClose}>
Annuler
Expand Down

0 comments on commit efd5aed

Please sign in to comment.