mirror of
https://gitlab.aliens-lyon.fr/encartes/web-interface.git
synced 2026-03-18 07:01:05 +01:00
Remove useless menu
This commit is contained in:
parent
5936213e00
commit
cca5b35af5
@ -92,15 +92,8 @@ function handleRoomSelected(id)
|
||||
export default function App() {
|
||||
const [selectedRoom, setSelectedRoom] = React.useState(null);
|
||||
|
||||
function selectAmphiB() {
|
||||
setSelectedRoom("salle-M-GN1-3-av");
|
||||
}
|
||||
|
||||
return <>
|
||||
<TopBar />
|
||||
<Button onClick={selectAmphiB}>Amphi B</Button>
|
||||
<Button>Salle : {selectedRoom}</Button>
|
||||
|
||||
<div style={{ flexGrow: '1', display: 'flex', flexDirection: 'line', flexWrap: 'nowrap' }}>
|
||||
<Map callbackRoomSelected={handleRoomSelected} selectedRoom={selectedRoom}/>
|
||||
<RoomResearch callbackRoomSelected={setSelectedRoom}/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user