Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookes committed Jan 12, 2021
1 parent deb8d0f commit befcc67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/scripts/buildApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -812,11 +812,11 @@ function extractClassConditions(descriptions: any) {
nodeName: conditions[3],
conditions: conditions[6].replace(/`(.*?)`/g, '<code>$1</code>'),
};
} else if (conditions && conditions[3] && conditions[3] !== 'the root element') {
classConditions[className] = {
description: description.replace(stylesRegex, '$1{{nodeName}}$5.'),
nodeName: conditions[3],
};
} else if (conditions && conditions[3] && conditions[3] !== 'the root element') {
classConditions[className] = {
description: description.replace(stylesRegex, '$1{{nodeName}}$5.'),
nodeName: conditions[3],
};
} else {
classConditions[className] = { description };
}
Expand Down

0 comments on commit befcc67

Please sign in to comment.