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); setTimeZoneName(resp.response.timeZoneName);
} }
}; };
console.debug("Toplevel fetch num", fetchSeq);
doFetch(abort.signal); doFetch(abort.signal);
return () => { return () => {
console.log("Aborting toplevel fetch num", fetchSeq);
abort.abort(); abort.abort();
}; };
}, [fetchSeq]); }, [fetchSeq]);

View File

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

View File

@ -38,7 +38,6 @@ const StreamMultiSelector = ({ cameras, selected, setSelected }: Props) => {
const theme = useTheme(); const theme = useTheme();
const classes = useStyles(); const classes = useStyles();
const setStream = (s: Stream, checked: boolean) => { const setStream = (s: Stream, checked: boolean) => {
console.log("toggle", s.camera.shortName, s.streamType);
const updated = new Set(selected); const updated = new Set(selected);
if (checked) { if (checked) {
updated.add(s); updated.add(s);
@ -110,7 +109,6 @@ const StreamMultiSelector = ({ cameras, selected, setSelected }: Props) => {
<Card <Card
sx={{ sx={{
padding: theme.spacing(1), padding: theme.spacing(1),
marginBottom: theme.spacing(2),
}} }}
> >
<table className={classes.streamSelectorTable}> <table className={classes.streamSelectorTable}>

View File

@ -278,7 +278,6 @@ const TimerangeSelector = ({
<MyTimePicker <MyTimePicker
value={startTime} value={startTime}
onChange={(newValue) => { onChange={(newValue) => {
console.log("start time onChange", newValue);
if (newValue === null || isFinite((newValue as Date).getTime())) { if (newValue === null || isFinite((newValue as Date).getTime())) {
setStartTime(newValue); setStartTime(newValue);
} }

View File

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