diff --git a/assets/react/controllers/TransactionComponant.tsx b/assets/react/controllers/TransactionComponant.tsx index 5c47ba407842c72c6248d85969136772b2a146f5..9eaaba96af988b3278c0687f55be5402a572c9d9 100644 --- a/assets/react/controllers/TransactionComponant.tsx +++ b/assets/react/controllers/TransactionComponant.tsx @@ -70,20 +70,19 @@ export default function TransactionComponant(props: { </div> <div> <label htmlFor="date"></label> - <input type="date" value={date} - onChange={(e) => setDate(e.target.value)} - placeholder="date" required /> + <input + type="date" + value={date} + onChange={(e) => setDate(e.target.value)} + placeholder="date" + required + /> </div> <div> Revenue : <input type="checkbox" /> </div> <div> - <img - style={{ border: "1px black solid" }} - src="img/vert.png" - alt="valider" - onClick={() => persist()} - /> + <img src="img/vert.png" alt="valider" onClick={() => persist()} /> </div> <div> <img src="img/faux.png" alt="supprimer" href="" /> diff --git a/assets/styles/transaction.css b/assets/styles/transaction.css index 18d55e8a41b7ed144c9cfedff9df06c2d2c64a52..c837a363ae7795648e2ebb53542dca32f579f197 100644 --- a/assets/styles/transaction.css +++ b/assets/styles/transaction.css @@ -60,5 +60,5 @@ width: 25px; height: 25px; cursor: pointer; - border: "1px black solid" + border: 1px black solid; } \ No newline at end of file