Metamigo frontend build fixes
This commit is contained in:
parent
935290bbdc
commit
101fea0bf4
24 changed files with 49 additions and 46 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { forwardRef } from "react";
|
||||
import { AppBar, UserMenu, MenuItemLink, useTranslate } from "react-admin";
|
||||
import Typography from "@material-ui/core/Typography";
|
||||
import SettingsIcon from "@material-ui/icons/Settings";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import SettingsIcon from "@mui/icons-material/Settings";
|
||||
import { makeStyles } from "@mui/material/styles";
|
||||
|
||||
const useStyles = makeStyles({
|
||||
title: {
|
||||
|
|
@ -38,6 +38,7 @@ const CustomUserMenu = (props: any) => (
|
|||
);
|
||||
|
||||
const CustomAppBar = (props: any) => {
|
||||
// @ts-expect-error
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<AppBar {...props} elevation={1} userMenu={<CustomUserMenu />}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue