mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Use module.exports for banners, remove .default for banner imports in presentation
This commit is contained in:
parent
5b520c21ef
commit
fee657977e
4 changed files with 5 additions and 5 deletions
|
@ -40,4 +40,4 @@ const MiddleBanner = () => (
|
|||
</TitleBanner>
|
||||
);
|
||||
|
||||
export default injectIntl(MiddleBanner);
|
||||
module.exports = injectIntl(MiddleBanner);
|
||||
|
|
|
@ -23,4 +23,4 @@ const SmallTopBanner = () => (
|
|||
</TitleBanner>
|
||||
);
|
||||
|
||||
export default injectIntl(SmallTopBanner);
|
||||
module.exports = injectIntl(SmallTopBanner);
|
||||
|
|
|
@ -34,4 +34,4 @@ const TopBanner = () => (
|
|||
</TitleBanner>
|
||||
);
|
||||
|
||||
export default injectIntl(TopBanner);
|
||||
module.exports = injectIntl(TopBanner);
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue