Skip to content

Commit

Permalink
changed config for appExtras inside config.settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Medesan committed Dec 2, 2020
1 parent 4523233 commit 115d7b7
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ const applyConfig = (config) => {
workflowProgress,
};

config.settings = {
...config.settings,
appExtras: [
...config.appExtras,
{
match: '',
component: ProgressWorkflow,
},
],
};
const appExtras = config.settings.appExtras || [];

config.settings.appExtras = [
...appExtras,
{
match: '',
component: ProgressWorkflow,
},
];

return config;
};
Expand Down

0 comments on commit 115d7b7

Please sign in to comment.