Fixed a bug

This commit is contained in:
2019-06-09 20:00:20 +10:00
parent 0ae287357b
commit 4c6450df55
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ class BadgeText extends React.Component {
render() {
if (!this.props.filename) {
return (
<p {...this.props}>{this.props.children}</p>
<p className={this.props.className} style={this.props.style}>{this.props.children}</p>
);
}