mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-19 21:18:09 +00:00
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…
x
Reference in New Issue
Block a user