fix: type check
This commit is contained in:
parent
0f5d8e80bb
commit
5f413ff5e9
|
@ -39,7 +39,7 @@ const buildOwnersFrom = (
|
|||
})
|
||||
|
||||
const buildModulesLinkedList = (modulesPaginated: [Array<string>, string] | null): Array<[string, string]> | null => {
|
||||
if (modulesPaginated.length) {
|
||||
if (modulesPaginated?.length) {
|
||||
const [remoteModules, nextModule] = modulesPaginated
|
||||
|
||||
return remoteModules.map((moduleAddress, index, modules) => {
|
||||
|
|
Loading…
Reference in New Issue