fixed devices summary not loading through context
This commit is contained in:
parent
b0274ad639
commit
9eb9740525
6 changed files with 27 additions and 23 deletions
|
|
@ -18,7 +18,6 @@ import GroupSettings from "group/GroupSettings";
|
|||
import { Device, Group, groupScope } from "models";
|
||||
import { pond } from "protobuf-ts/pond";
|
||||
import { useState } from "react";
|
||||
// import ObjectTeams from "teams/ObjectTeams";
|
||||
import ObjectUsers from "user/ObjectUsers";
|
||||
import RemoveSelfFromObject from "user/RemoveSelfFromObject";
|
||||
import ShareObject from "user/ShareObject";
|
||||
|
|
@ -26,14 +25,7 @@ import { isOffline } from "utils/environment";
|
|||
import { makeStyles } from "@mui/styles";
|
||||
import ObjectTeams from "teams/ObjectTeams";
|
||||
|
||||
// const useStyles = makeStyles((theme: Theme) => {
|
||||
// // const isMobile = useMobile()
|
||||
// return ({
|
||||
|
||||
// });
|
||||
// });
|
||||
|
||||
const useStyles = makeStyles((theme: Theme) => {
|
||||
const useStyles = makeStyles((_theme: Theme) => {
|
||||
return ({
|
||||
shareIcon: {
|
||||
color: blue["500"],
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
import { createStyles, List, ListItem, ListItemText, Theme } from "@mui/material";
|
||||
// import { Theme } from "@material-ui/core/styles/createMuiTheme";
|
||||
// import withStyles, { WithStyles } from "@material-ui/core/styles/withStyles";
|
||||
import React from "react";
|
||||
import { Group } from "models";
|
||||
import { pond } from "protobuf-ts/pond";
|
||||
import { withStyles, WithStyles } from "@mui/styles";
|
||||
|
||||
const styles = (theme: Theme) =>
|
||||
const styles = (_theme: Theme) =>
|
||||
createStyles({
|
||||
listDirectionRow: {
|
||||
display: "flex",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue