From 111a4aa3779ae666417a4b2dde94bfa04476d060 Mon Sep 17 00:00:00 2001 From: Adrien Vannson Date: Tue, 28 Feb 2023 15:12:42 +0100 Subject: [PATCH] Format the code --- src/App.js | 4 ++-- src/Rooms.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.js b/src/App.js index 5ec1130..1a1bd6d 100644 --- a/src/App.js +++ b/src/App.js @@ -69,7 +69,7 @@ function RoomResearch({ callbackRoomSelected }) { {setCurrentRequest(event.target.value)}} + onChange={(event) => { setCurrentRequest(event.target.value) }} variant="outlined" fullWidth /> @@ -138,7 +138,7 @@ export default function App() { return <>
- +
diff --git a/src/Rooms.js b/src/Rooms.js index bd2f951..34afd28 100644 --- a/src/Rooms.js +++ b/src/Rooms.js @@ -5,7 +5,7 @@ import TableRow from '@mui/material/TableRow'; import TableCell from '@mui/material/TableCell'; import TableBody from '@mui/material/TableBody'; -export default function Rooms({rooms, callbackRoomSelected}) { +export default function Rooms({ rooms, callbackRoomSelected }) { return