Fix more conflicting dependencies

This commit is contained in:
Darren Clarke 2023-05-25 14:36:08 +00:00
parent 291395f8d3
commit 3ca903cf4f
11 changed files with 300 additions and 364 deletions

View file

@ -2,7 +2,7 @@ import { forwardRef } from "react";
import { AppBar, UserMenu, MenuItemLink, useTranslate } from "react-admin";
import Typography from "@mui/material/Typography";
import SettingsIcon from "@mui/icons-material/Settings";
import { makeStyles } from "@mui/material/styles";
import { makeStyles } from "@mui/styles";
const useStyles = makeStyles({
title: {
@ -38,7 +38,6 @@ const CustomUserMenu = (props: any) => (
);
const CustomAppBar = (props: any) => {
// @ts-expect-error
const classes = useStyles();
return (
<AppBar {...props} elevation={1} userMenu={<CustomUserMenu />}>