Replacing icon property when icon has been requested.

Creating <APIButton/> which handles success/failure/pending during API calls.
This commit is contained in:
Roland 2023-07-21 15:14:09 -06:00
parent 237b429cbf
commit 59c4ab2502
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
24 changed files with 483 additions and 334 deletions

View file

@ -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>