Skip to content

Commit

Permalink
Update MUI to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Oct 9, 2024
1 parent 3882fb6 commit bf4d738
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 97 deletions.
157 changes: 81 additions & 76 deletions core/trino-web-ui/src/main/resources/webapp-preview/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@fontsource/roboto": "^5.0.13",
"@mui/icons-material": "^5.16.6",
"@mui/material": "^5.16.7",
"@mui/icons-material": "^6.1.2",
"@mui/material": "^6.1.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.25.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ import {
Button,
Container,
CssBaseline,
// TODO: update when MUI is updated to version 6
Unstable_Grid2 as Grid,
Grid2 as Grid,
Link,
ThemeProvider,
Typography,
Expand Down Expand Up @@ -77,10 +76,10 @@ const NotFound = () => {
return (
<Container maxWidth="md">
<Grid container spacing={2}>
<Grid xs={12} md={2}>
<Grid size={12} spacing={{ md: 2}}>
<Box component="img" sx={{ height: 140 }} alt="logo" src={trinoLogo} />
</Grid>
<Grid xs={12} md={10}>
<Grid size={12} spacing={{ md : 10}}>
<Typography variant="h3">404</Typography>
<Typography paragraph>The page you’re looking for doesn’t exist.</Typography>
<Button variant="contained" component={Link} href="/">
Expand Down
Loading

0 comments on commit bf4d738

Please sign in to comment.