got rid of unnessarry logs
This commit is contained in:
parent
8fc8745862
commit
67ea4cbfdc
3 changed files with 8 additions and 20 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import { Grid2, Theme, Typography } from "@mui/material";
|
||||
import { makeStyles } from "@mui/styles";
|
||||
import { Grid2 } from "@mui/material";
|
||||
import { Device, User } from "models";
|
||||
import { getContextKeys, getContextTypes } from "pbHelpers/Context";
|
||||
import { useDeviceAPI, useGlobalState, useSnackbar } from "providers";
|
||||
|
|
@ -13,12 +12,12 @@ import DeviceActions from "common/DeviceActions";
|
|||
import { pond } from "protobuf-ts/pond";
|
||||
import { cloneDeep } from "lodash";
|
||||
|
||||
const useStyles = makeStyles((theme: Theme) => {
|
||||
// const isMobile = useMobile()
|
||||
return ({
|
||||
// const useStyles = makeStyles((theme: Theme) => {
|
||||
// // const isMobile = useMobile()
|
||||
// return ({
|
||||
|
||||
});
|
||||
});
|
||||
// });
|
||||
// });
|
||||
|
||||
export default function DevicePage() {
|
||||
const deviceAPI = useDeviceAPI()
|
||||
|
|
@ -74,13 +73,9 @@ export default function DevicePage() {
|
|||
.finally(() => setLoading(false));
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
console.log(device)
|
||||
}, [device])
|
||||
|
||||
useEffect(() => {
|
||||
loadDevice()
|
||||
}, [])
|
||||
}, [deviceID])
|
||||
|
||||
const toggleNotificationPreference = () => {
|
||||
let updatedPreferences = cloneDeep(preferences);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue