Skip to content

Commit

Permalink
Merge pull request #262 from Sterbenfr/fix/app
Browse files Browse the repository at this point in the history
fix(app): Fixed little bugs
  • Loading branch information
Aurelienschmi authored Jul 30, 2024
2 parents b287878 + e6a43b6 commit 5811a59
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
2 changes: 1 addition & 1 deletion components/popUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const PopUp: React.FC<PopUpProps> = ({

useEffect(() => {
setInputs(fields)
}, [fields])
}, [])

const handleInputChange = (id: string, value: string | boolean) => {
// Invoke the function if provided
Expand Down
7 changes: 0 additions & 7 deletions migration/16-Table-Interlocuteur.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@ CREATE TABLE Interlocuteurs (
PRIMARY KEY (code_interlocuteur),
FOREIGN KEY (code_type_interlocuteur) REFERENCES TypeInterlocuteur(code_type_interlocuteur) ON UPDATE CASCADE
);
INSERT INTO Interlocuteurs (civilite, nom, prenom, tel_perso, mail, commentaires, code_type_interlocuteur) VALUES
('M.', 'Dupont', 'Jean', '0123456789', '[email protected]', 'Nouveau bénévole.', null),
('Mme', 'Martin', 'Marie', '0987654321', '[email protected]', 'Responsable de secteur.', null),
('M.', 'Durand', 'Paul', '0123987654', '[email protected]', 'Volontaire depuis 2 ans.', null),
('Mme', 'Petit', 'Sophie', '0765432109', '[email protected]', 'Coordination des événements.', null),
('Aut','Admin','Admin','0123456789','[email protected]','Administrateur.', null),
('M.', 'Leroy', 'Julien', '0654321987', '[email protected]', 'Gestion des stocks.', null);
21 changes: 0 additions & 21 deletions migration/17-Table-User-Site-Link.sql

This file was deleted.

0 comments on commit 5811a59

Please sign in to comment.