Use module.exports for banners, remove .default for banner imports in presentation

This commit is contained in:
Connor Hudson 2018-07-16 09:17:26 -04:00
parent 5b520c21ef
commit fee657977e
4 changed files with 5 additions and 5 deletions

View file

@ -40,4 +40,4 @@ const MiddleBanner = () => (
</TitleBanner>
);
export default injectIntl(MiddleBanner);
module.exports = injectIntl(MiddleBanner);

View file

@ -23,4 +23,4 @@ const SmallTopBanner = () => (
</TitleBanner>
);
export default injectIntl(SmallTopBanner);
module.exports = injectIntl(SmallTopBanner);

View file

@ -34,4 +34,4 @@ const TopBanner = () => (
</TitleBanner>
);
export default injectIntl(TopBanner);
module.exports = injectIntl(TopBanner);

View file

@ -32,8 +32,8 @@ const RemixProjectMessage = require('./activity-rows/remix-project.jsx');
const ShareProjectMessage = require('./activity-rows/share-project.jsx');
// Beta Banner Components
const TopBanner = require('./beta/top-banner.jsx').default;
const MiddleBanner = require('./beta/middle-banner.jsx').default;
const TopBanner = require('./beta/top-banner.jsx');
const MiddleBanner = require('./beta/middle-banner.jsx');
require('./splash.scss');