quick workaround of tuple bug (#1038)
This commit is contained in:
parent
62331a0ea2
commit
6e4ce5c5ff
@ -109,7 +109,7 @@ export default function withCall<P extends ApiProps> (endpoint: string, { at, at
|
||||
const values = isUndefined(paramValue)
|
||||
? params
|
||||
: params.concat(
|
||||
Array.isArray(paramValue)
|
||||
(Array.isArray(paramValue) && !(paramValue as any).toU8a)
|
||||
? paramValue
|
||||
: [paramValue]
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user