mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-30 07:39:01 +03:00
chore: refactor config naming
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ import { FetchStatus, useConfig } from './api';
|
||||
|
||||
export default function App() {
|
||||
const { status, data: config } = useConfig();
|
||||
const cameraComponent = config && config.ui.useExperimentalUI ? Routes.getCameraV2 : Routes.getCamera;
|
||||
const cameraComponent = config && config.ui.use_experimental ? Routes.getCameraV2 : Routes.getCamera;
|
||||
return (
|
||||
<DarkModeProvider>
|
||||
<DrawerProvider>
|
||||
|
||||
Reference in New Issue
Block a user