mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 01:05:20 +03:00
refactor: revert quote type in app.jsx
This commit is contained in:
parent
920c41d4c9
commit
4329c8e8d1
@ -15,25 +15,25 @@ export default function App() {
|
||||
return (
|
||||
<DarkModeProvider>
|
||||
<DrawerProvider>
|
||||
<div data-testid='app' className='w-full'>
|
||||
<div data-testid="app" className="w-full">
|
||||
<AppBar />
|
||||
{status !== FetchStatus.LOADED ? (
|
||||
<div className='flex flex-grow-1 min-h-screen justify-center items-center'>
|
||||
<div className="flex flex-grow-1 min-h-screen justify-center items-center">
|
||||
<ActivityIndicator />
|
||||
</div>
|
||||
) : (
|
||||
<div className='flex flex-row min-h-screen w-full bg-white dark:bg-gray-900 text-gray-900 dark:text-white'>
|
||||
<div className="flex flex-row min-h-screen w-full bg-white dark:bg-gray-900 text-gray-900 dark:text-white">
|
||||
<Sidebar />
|
||||
<div className='w-full flex-auto mt-16 min-w-0'>
|
||||
<div className="w-full flex-auto mt-16 min-w-0">
|
||||
<Router>
|
||||
<AsyncRoute path='/cameras/:camera/editor' getComponent={Routes.getCameraMap} />
|
||||
<AsyncRoute path='/cameras/:camera' getComponent={cameraComponent} />
|
||||
<AsyncRoute path='/birdseye' getComponent={Routes.getBirdseye} />
|
||||
<AsyncRoute path='/events' getComponent={Routes.getEvents} />
|
||||
<AsyncRoute path='/recording/:camera/:date?/:hour?/:seconds?' getComponent={Routes.getRecording} />
|
||||
<AsyncRoute path='/debug' getComponent={Routes.getDebug} />
|
||||
<AsyncRoute path='/styleguide' getComponent={Routes.getStyleGuide} />
|
||||
<Cameras default path='/' />
|
||||
<AsyncRoute path="/cameras/:camera/editor" getComponent={Routes.getCameraMap} />
|
||||
<AsyncRoute path="/cameras/:camera" getComponent={cameraComponent} />
|
||||
<AsyncRoute path="/birdseye" getComponent={Routes.getBirdseye} />
|
||||
<AsyncRoute path="/events" getComponent={Routes.getEvents} />
|
||||
<AsyncRoute path="/recording/:camera/:date?/:hour?/:seconds?" getComponent={Routes.getRecording} />
|
||||
<AsyncRoute path="/debug" getComponent={Routes.getDebug} />
|
||||
<AsyncRoute path="/styleguide" getComponent={Routes.getStyleGuide} />
|
||||
<Cameras default path="/" />
|
||||
</Router>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user