Skip to content

Commit

Permalink
Fix default export (#29)
Browse files Browse the repository at this point in the history
* Fix default export

* Changelog
  • Loading branch information
sneridagh committed Jan 12, 2024
1 parent 02c9f1d commit da779c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/29.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix default export in `index.js` @sneridagh
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import loadable from '@loadable/component';

import './theme/main.less';

export default (config) => {
const applyConfig = (config) => {
config.settings.appExtras.push({
match: '',
component: Banner,
Expand Down Expand Up @@ -63,3 +63,5 @@ export default (config) => {
});
return config;
};

export default applyConfig;

0 comments on commit da779c3

Please sign in to comment.