Skip to content

Commit

Permalink
fixed loading-screen component bug:
Browse files Browse the repository at this point in the history
  • Loading branch information
khlevon committed May 21, 2019
1 parent d5213fa commit ce6578b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class Entity extends React.Component {
// Let through props that are OK to render initially.
let reactProps = {};
for (propName in props) {
if (['className', 'id', 'mixin'].indexOf(propName) !== -1 ||
if (['className', 'id', 'mixin', 'loading-screen'].indexOf(propName) !== -1 ||
propName.indexOf('data-') === 0) {
reactProps[propName] = props[propName];
}
Expand Down

0 comments on commit ce6578b

Please sign in to comment.