cleanup unnecessary logging & such

This commit is contained in:
Scott Lamb 2021-03-16 21:13:12 -07:00
parent eb8f6f3ae1
commit e272075941
5 changed files with 0 additions and 7 deletions

View File

@ -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]);

View File

@ -44,7 +44,6 @@ function MoonfireMenu(props: Props) {
};
const handleClose = () => {
console.log("handleAccountMenuClose");
setAccountMenuAnchor(null);
};

View File

@ -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}>

View File

@ -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);
}

View File

@ -123,7 +123,6 @@ const Main = ({ cameras, timeZoneName, showMenu }: Props) => {
);
}
const closeModal = (event: {}, reason: string) => {
console.log("closeModal", reason);
setActiveRecording(null);
};
const recordingsTable = (