Skip to content

Commit

Permalink
adding suggested changes from issue feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
brno32 committed Jan 1, 2021
1 parent c32246b commit 6c58103
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/modules/utils/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ function includePeerDependencies(deps, versions) {
newDeps['@material-ui/core'] = versions['@material-ui/core'];
}

if (newDeps['@material-ui/data-grid']) {
newDeps['@material-ui/core'] = versions['@material-ui/core'];
}

if (window.muiDocConfig) {
newDeps = window.muiDocConfig.csbIncludePeerDependencies(newDeps, { versions });
}
Expand Down

0 comments on commit 6c58103

Please sign in to comment.