<Route path='/' element={<PlantModel />}>
<Route path='lineeditedit/:id' element={<LineEmpEdit />} />
</Route>
const
PlantModel = () => {
return(
<div style = {{display: 'flex', flexDirection: 'row', width: '100%'}}>
<div style = {{width: '200px', marginRight: '10px'}}>
<PlantTree />
</div>
<div style = {{width: '80%'}}>
<Outlet/>
</div>
</div>
)
}