Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
Fixes #742 loading component
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahalwy committed Apr 19, 2017
1 parent c82b6d2 commit 13af0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ComponentLoader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { PropTypes } from 'react';

const ComponentLoader = ({ isLoading, error, pastDelay }) => {
if (isLoading) {
return pastDelay ? <div>Loading...</div> : null;
return pastDelay ? <noscript /> : null;
} else if (error) {
return <div>Error! Component failed to load</div>;
}
Expand Down

0 comments on commit 13af0f3

Please sign in to comment.