fix: reverse array before popping to get the 1st element
This commit is contained in:
parent
a91b58924b
commit
17c3addeb2
|
@ -39,7 +39,7 @@ export function optionsToConfig(
|
|||
...acc,
|
||||
...val,
|
||||
};
|
||||
}, options)).pop();
|
||||
}, options)).reverse().pop();
|
||||
|
||||
const finalOptions = {
|
||||
...def,
|
||||
|
|
Loading…
Reference in New Issue