Skip to content

Commit

Permalink
[docs] Fix code edit for when v6 will be stable (#6600)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 24, 2022
1 parent 6800458 commit f9046a0
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 f9046a0

Please sign in to comment.