Skip to content

Commit

Permalink
[docs] Fix code edit for when v6 will be stable
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 21, 2022
1 parent cf43507 commit 41d2714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LicenseInfo.setLicenseKey(process.env.NEXT_PUBLIC_MUI_LICENSE);

function getMuiPackageVersion(packageName, commitRef) {
if (commitRef === undefined) {
return 'latest';
return '^5.0.0';
}
const shortSha = commitRef.slice(0, 8);
return `https://pkg.csb.dev/mui/mui-x/commit/${shortSha}/@mui/${packageName}`;
Expand Down

0 comments on commit 41d2714

Please sign in to comment.