Skip to content

Commit

Permalink
Merge pull request #1097 from Datawheel/create-canon-patches
Browse files Browse the repository at this point in the history
removes optional chaining operator from scaffold
  • Loading branch information
frabarz committed Sep 10, 2020
2 parents cd9cc2f + 6db3547 commit fad5acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-canon/scaffold/app/store/index.js
Expand Up @@ -16,7 +16,7 @@ if (__DEV__ && !__SERVER__) {
// You can apply any of these recipes freely
// https://www.npmjs.com/package/redux-logger#recipes
const loggerMiddleware = createLogger({
collapsed: (getState, action, logEntry) => !logEntry?.error
collapsed: (getState, action, logEntry) => !logEntry || !logEntry.error
});
middleware.push(loggerMiddleware);
}
Expand Down

0 comments on commit fad5acb

Please sign in to comment.