mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Replacing icon property when icon has been requested.
Creating <APIButton/> which handles success/failure/pending during API calls.
This commit is contained in:
parent
237b429cbf
commit
59c4ab2502
24 changed files with 483 additions and 334 deletions
|
|
@ -267,7 +267,7 @@ class ManageMap extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
function MapApp() {
|
||||
function MapPage() {
|
||||
return <iframe
|
||||
title='map'
|
||||
src={`http://${window.location.hostname}:8084/`}
|
||||
|
|
@ -290,7 +290,7 @@ export function MapRoute() {
|
|||
return <div style={{marginTop: '2em'}}>
|
||||
<TabLinks links={links}/>
|
||||
<Routes>
|
||||
<Route path='/' exact element={<MapApp/>}/>
|
||||
<Route path='/' exact element={<MapPage/>}/>
|
||||
<Route path='manage' exact element={<ManageMap/>}/>
|
||||
</Routes>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue