* Cleanup live activity indicators for cameras

* Rename to reviews and redirect events to reviews

* Use reviews

* Remove plural

* Simplify recordings view

* Adjust icon
This commit is contained in:
Nicolas Mowen
2024-04-10 07:40:17 -06:00
committed by GitHub
parent 503dfba719
commit 3d43c5e811
10 changed files with 131 additions and 136 deletions

View File

@@ -0,0 +1,14 @@
import { useEffect } from "react";
import { useNavigate } from "react-router-dom";
type RedirectProps = {
to: string;
};
export function Redirect({ to }: RedirectProps) {
const navigate = useNavigate();
useEffect(() => {
navigate(to);
}, [to, navigate]);
return <div />;
}