This commit is contained in:
Nick Mowen 2023-10-17 14:37:20 -06:00
parent be1677afd8
commit 3fec62ba0d

View File

@ -94,7 +94,7 @@ export default function Events({ path, ...props }) {
showDeleteFavorite: false, showDeleteFavorite: false,
}); });
const [showInProgress, setShowInProgress] = useState((props.event || props.camera || props.label) == null); const [showInProgress, setShowInProgress] = useState((props.event || props.cameras || props.labels) == null);
const eventsFetcher = useCallback( const eventsFetcher = useCallback(
(path, params) => { (path, params) => {