Skip to content

Commit

Permalink
[docs] Fix version links (#11167)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy authored Nov 24, 2023
1 parent 2fb2fe7 commit 0e62baf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@ function AppWrapper(props) {
versions: [
{
text: 'v7 (next)',
href: `https://next.mui.com${languagePrefix}/components/data-grid/`,
href: `https://next.mui.com${languagePrefix}/x/react-data-grid/`,
},
{ text: `v${process.env.DATA_GRID_VERSION}`, current: true },
{ text: 'v5', href: `https://v5.mui.com${languagePrefix}/components/data-grid/` },
{ text: 'v5', href: `https://v5.mui.com${languagePrefix}/x/react-data-grid/` },
{ text: 'v4', href: `https://v4.mui.com${languagePrefix}/components/data-grid/` },
],
};
Expand All @@ -241,7 +241,7 @@ function AppWrapper(props) {
versions: [
{
text: 'v7 (next)',
href: `https://next.mui.com${languagePrefix}/x/react-date-pickers/getting-started/`,
href: `https://next.mui.com${languagePrefix}/x/react-date-pickers/`,
},
{ text: `v${process.env.DATE_PICKERS_VERSION}`, current: true },
{
Expand All @@ -257,7 +257,7 @@ function AppWrapper(props) {
versions: [
{
text: 'v7 (next)',
href: `https://next.mui.com${languagePrefix}/x/react-charts/getting-started`,
href: `https://next.mui.com${languagePrefix}/x/react-charts/`,
},
{ text: `v${process.env.CHARTS_VERSION}`, current: true },
],
Expand Down

0 comments on commit 0e62baf

Please sign in to comment.