Skip to content

Commit

Permalink
[core] Fix 404 errors (#45137)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Jan 30, 2025
1 parent d7447a2 commit c490d7b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ import PrintIcon from '@mui/icons-material/Print';
import DownloadIcon from '@mui/icons-material/Download';

const NAVIGATION = [
{ segment: 'inbox', title: 'Inbox' },
{
segment: 'orders',
title: 'Orders',
segment: 'inbox/all',
title: 'All',
icon: <DashboardIcon />,
},
];
Expand Down Expand Up @@ -74,7 +75,7 @@ function CustomPageHeader() {

export default function PageContainerBasic(props) {
const { window } = props;
const router = useDemoRouter('/orders');
const router = useDemoRouter('/inbox/all');
const theme = useTheme();
// Remove this const when copying and pasting into your project.
const demoWindow = window ? window() : undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ import PrintIcon from '@mui/icons-material/Print';
import DownloadIcon from '@mui/icons-material/Download';

const NAVIGATION: Navigation = [
{ segment: 'inbox', title: 'Inbox' },
{
segment: 'orders',
title: 'Orders',
segment: 'inbox/all',
title: 'All',
icon: <DashboardIcon />,
},
];
Expand Down Expand Up @@ -74,7 +75,7 @@ function CustomPageHeader() {

export default function PageContainerBasic(props: any) {
const { window } = props;
const router = useDemoRouter('/orders');
const router = useDemoRouter('/inbox/all');
const theme = useTheme();
// Remove this const when copying and pasting into your project.
const demoWindow = window ? window() : undefined;
Expand Down
1 change: 1 addition & 0 deletions docs/public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/trash / 301
/spam / 301
/sign-up / 301
/auth* / 301

/size-snapshot https://s3.eu-central-1.amazonaws.com/mui-org-ci/artifacts/master/latest/size-snapshot.json 200

Expand Down

0 comments on commit c490d7b

Please sign in to comment.