我已经在我的React.JS项目的索引中使用MUI创建了一个主题。当我尝试将我的样式应用于我的Appbar时,主题没有正确地修改菜单按钮或菜单本身。} from "react-router";import AdapterDateFns from "@mui/lab/AdapterDateFns";
import { Localiz
我在开发nextjs应用程序。首先,我从MUI网站代码下载了这个默认的仪表板主题:然而,当我尝试实现存储“打开”抽屉状态的localStorage时,就像在代码片段中显示它的bug一样--在刷新时,它总是处于默认状态,即使localStorage根据错误:Warning: Prop className did not match.: JSX.Element; shouldForwardProp: (prop</em