Skip to content

Commit

Permalink
fix(configuration): fix map literals (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifoosid committed Apr 10, 2019
1 parent d58320b commit 515121f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/base/src/Configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ const _setTheme = themeName => {
CONFIGURATION.theme = themeName;
};

const booleanMapping = new Map([
["true", true],
["false", false],
]);
const booleanMapping = new Map();
booleanMapping.set("true", true);
booleanMapping.set("false", false);

let runtimeConfig = {};

Expand Down

0 comments on commit 515121f

Please sign in to comment.