mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 07:05:56 -05:00
cleanup unnecessary logging & such
This commit is contained in:
parent
eb8f6f3ae1
commit
e272075941
@ -80,10 +80,8 @@ function App() {
|
||||
setTimeZoneName(resp.response.timeZoneName);
|
||||
}
|
||||
};
|
||||
console.debug("Toplevel fetch num", fetchSeq);
|
||||
doFetch(abort.signal);
|
||||
return () => {
|
||||
console.log("Aborting toplevel fetch num", fetchSeq);
|
||||
abort.abort();
|
||||
};
|
||||
}, [fetchSeq]);
|
||||
|
@ -44,7 +44,6 @@ function MoonfireMenu(props: Props) {
|
||||
};
|
||||
|
||||
const handleClose = () => {
|
||||
console.log("handleAccountMenuClose");
|
||||
setAccountMenuAnchor(null);
|
||||
};
|
||||
|
||||
|
@ -38,7 +38,6 @@ const StreamMultiSelector = ({ cameras, selected, setSelected }: Props) => {
|
||||
const theme = useTheme();
|
||||
const classes = useStyles();
|
||||
const setStream = (s: Stream, checked: boolean) => {
|
||||
console.log("toggle", s.camera.shortName, s.streamType);
|
||||
const updated = new Set(selected);
|
||||
if (checked) {
|
||||
updated.add(s);
|
||||
@ -110,7 +109,6 @@ const StreamMultiSelector = ({ cameras, selected, setSelected }: Props) => {
|
||||
<Card
|
||||
sx={{
|
||||
padding: theme.spacing(1),
|
||||
marginBottom: theme.spacing(2),
|
||||
}}
|
||||
>
|
||||
<table className={classes.streamSelectorTable}>
|
||||
|
@ -278,7 +278,6 @@ const TimerangeSelector = ({
|
||||
<MyTimePicker
|
||||
value={startTime}
|
||||
onChange={(newValue) => {
|
||||
console.log("start time onChange", newValue);
|
||||
if (newValue === null || isFinite((newValue as Date).getTime())) {
|
||||
setStartTime(newValue);
|
||||
}
|
||||
|
@ -123,7 +123,6 @@ const Main = ({ cameras, timeZoneName, showMenu }: Props) => {
|
||||
);
|
||||
}
|
||||
const closeModal = (event: {}, reason: string) => {
|
||||
console.log("closeModal", reason);
|
||||
setActiveRecording(null);
|
||||
};
|
||||
const recordingsTable = (
|
||||
|
Loading…
Reference in New Issue
Block a user