Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Fix 404 errors #45137

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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