1
0
Fork 0

🐛 Fixed issue in utils::optionDefault

This commit is contained in:
Joost De Cock 2019-06-28 17:51:49 +02:00
parent 3a6d7c5680
commit 4eca204d6b
2 changed files with 5 additions and 3 deletions

View file

@ -2,7 +2,7 @@ import optionType from "./optionType";
const optionDefault = option => {
let type = optionType(option);
switch (optionType(option)) {
switch (type) {
case "constant":
return option;
break;