Further improve event loading (#10949)

* Further improve loading

* Add document titles to pages

* Cleanup
This commit is contained in:
Nicolas Mowen
2024-04-12 06:31:30 -06:00
committed by GitHub
parent 13cac082d5
commit 11dc407b36
9 changed files with 108 additions and 48 deletions

View File

@@ -17,6 +17,10 @@ type SaveOptions = "saveonly" | "restart";
function ConfigEditor() {
const apiHost = useApiHost();
useEffect(() => {
document.title = "Config Editor - Frigate";
}, []);
const { data: config } = useSWR<string>("config/raw");
const { theme, systemTheme } = useTheme();