fix: need to use concat not push

This commit is contained in:
Derrick Hammer 2023-07-13 12:23:33 -04:00
parent 6ef18dbc05
commit b87017eb67
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ export default class VerifyingProvider implements IClientVerifyingProvider {
.map((r: any) => r.result)
.reduce(
(acc, curr, idx, arr) =>
idx % 2 === 0 ? acc.push([curr, arr[idx + 1]]) : acc,
idx % 2 === 0 ? acc.concat([[curr, arr[idx + 1]]]) : acc,
[],
) as [AccountResponse, CodeResponse][];