updated the material ui imports for existing files that had not been updated yet

This commit is contained in:
csawatzky 2025-03-04 12:35:36 -06:00
parent 14904d8eb3
commit f2cf950a6b
11 changed files with 82 additions and 66 deletions

View file

@ -1,14 +1,18 @@
import { Avatar, ButtonBase, createStyles, makeStyles, Theme, Tooltip } from "@material-ui/core";
import { Tune as PresetsIcon, ViewList as ComponentsIcon } from "@material-ui/icons";
//import { Avatar, ButtonBase, createStyles, makeStyles, Theme, Tooltip } from "@material-ui/core";
//import { Tune as PresetsIcon, ViewList as ComponentsIcon } from "@material-ui/icons";
import { Avatar, ButtonBase, Theme, Tooltip } from "@mui/material";
import { Tune as PresetsIcon, ViewList as ComponentsIcon } from "@mui/icons-material";
import { makeStyles } from "@mui/styles";
import { useThemeType } from "../hooks/useThemeType";
import classnames from "classnames";
import { capitalize } from "lodash";
import React from "react";
import { ProductTab } from "./DeviceProduct";
const useStyles = makeStyles((theme: Theme) => {
const themeType = theme.palette.type;
const themeType = useThemeType();
const activeBG = theme.palette.secondary.main;
return createStyles({
return ({
avatar: {
color: themeType === "light" ? theme.palette.common.black : theme.palette.common.white,
backgroundColor: "transparent",