Renaming ZimApp is actually a viewer.

This commit is contained in:
Roland 2023-07-12 10:06:57 -06:00
parent 8ffd22206e
commit 3f1a27e982
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -517,7 +517,7 @@ class ManageZim extends React.Component {
}
}
function ZimApp() {
function ZimViewer() {
return <iframe
title='zim'
src={VIEWER_URL}
@ -541,7 +541,7 @@ export function ZimRoute() {
return <div style={{marginTop: '2em'}}>
<TabLinks links={links}/>
<Routes>
<Route path='/' exact element={<ZimApp/>}/>
<Route path='/' exact element={<ZimViewer/>}/>
<Route path='manage' exact element={<ManageZim/>}/>
</Routes>
</div>