Skip to content

Commit

Permalink
start simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 24, 2020
1 parent 9788bc5 commit 0cc7025
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
REACT_MODE: JSON.stringify(reactMode),
ENABLE_EXPERIMENTAL: JSON.stringify(
// Set by Netlify
process.env.CONTEXT === 'production' ? 'false' : 'true',
process.env.PULL_REQUEST === 'false' ? 'false' : 'true',
),
SOURCE_CODE_ROOT_URL: JSON.stringify(
'https://github.com/mui-org/material-ui-x/blob/master',
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const pages = [
pathname: '/components',
subheader: '/components/data-grid',
children:
process.env.CONTEXT === 'production'
process.env.PULL_REQUEST === 'false'
? [
{
pathname: '/components/data-grid',
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = {
'process.env': {
ENABLE_EXPERIMENTAL: JSON.stringify(
// Set by Netlify
process.env.CONTEXT === 'production' ? 'false' : 'true',
process.env.PULL_REQUEST === 'false' ? 'false' : 'true',
),
},
}),
Expand Down

0 comments on commit 0cc7025

Please sign in to comment.