Use esm mui imports for Vite compatibility

See: https://github.com/mui/material-ui/issues/31835#issuecomment-1153393901
This commit is contained in:
nimbleghost
2023-05-24 12:25:20 +02:00
parent e21327cec5
commit d625a003b8
22 changed files with 160 additions and 142 deletions

View File

@@ -1,6 +1,5 @@
import * as React from "react";
import { Avatar } from "@mui/material";
import Box from "@mui/material/Box";
import { Avatar, Box } from "@mui/material";
import logo from "../img/ntfy-filled.svg";
const AvatarBox = (props) => (