Skip to content

Commit

Permalink
fix(UnAuthorized.tsx): change import path for ErrorIcon from @mui/ico…
Browse files Browse the repository at this point in the history
…ns-material/Error to @material-ui/icons/Error

The import path for ErrorIcon was incorrect, causing the application to
fail when trying to render the ErrorIcon. The correct import path from
the Material-UI library is now used, ensuring the ErrorIcon is properly
displayed.
  • Loading branch information
cybersiddhu committed Feb 9, 2024
1 parent 8fa2ec6 commit c9dcc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auth/src/UnAuthorized.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { makeStyles } from "@material-ui/core/styles"
import Box from "@material-ui/core/Box"
import Typography from "@material-ui/core/Typography"
import Button from "@material-ui/core/Button"
import ErrorIcon from "@mui/icons-material/Error"
import ErrorIcon from "@material-ui/icons/Error"
import sadDicty from "./assets/sad-dicty.png"

const useStyles = makeStyles((theme) => ({
Expand Down

0 comments on commit c9dcc55

Please sign in to comment.