Skip to content

Commit

Permalink
Update packages/material-ui/src/AccordionSummary/AccordionSummary.js
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Jul 21, 2021
1 parent 5a51cc9 commit 0669fe3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ AccordionSummary.propTypes = {
*/
classes: chainPropTypes(PropTypes.object, (props) => {
// Guard against when generation of classes is disabled in the stylesheets (`disableGeneration`).
// For `disableGeneration` we don't have an accurate but `disableGeneration` is an advanced use case.
// For `disableGeneration` we don't have an accurate warning but `disableGeneration` is an advanced use case anyway.
if (props.classes.focused !== undefined && props.classes.focused.indexOf(' ') !== -1) {
return new Error(
[
Expand Down

0 comments on commit 0669fe3

Please sign in to comment.