Commit Graph

2 Commits

Author SHA1 Message Date
Fernando 42291e1208
(Fix) Refactor Safe information retrieval (#2122)
* use client-gateway endpoint for safeInfo

* remove condition to retrieve modules information as client-gateway is already returning the whole list

* create `allSettled` helper function, to divide promises logic from business logic

* set 'UNKNOWN' as default value for owner's record creation

* simplify `fetchSafe` and `buildSafe` logic

* fix check for modules existence

* Add tests for functions used to fetch information

* (Chore) Remove unused code (#2123)

* Not all Collectibles are displayed (#2172)

* replace fetchErc20AndErc721AssetsList by fetchSafeCollectibles

Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com>
Co-authored-by: katspaugh <katspaugh@gmail.com>
2021-04-30 12:06:38 +02:00
Gabriel Rodríguez Alsina 6df5e72135
(Fix) Enforce linting and formatting (#564)
* (remove) unused / old packages / linting script

* (add) eslint / prettier packages and plugins

* (fix) eslint / prettier config

* (add) prettier / eslint scripts

* (fix) linting and formatting problems

* (remove) unused files

* (fix) linting problem that needed to be addressed manually

* (add) pre commit hooks

* (fix) lint-staged config

* (fix) config

* (fix) config

* (check) if pre config formatting works

* Add nvmrc and update yarn.lock

* Update `yarn.lock`

* Make jsx-a11y/no-autofocus report as warn

* Apply lint:fix to project

Co-authored-by: Fernando <fernando.greco@gmail.com>
2020-02-17 19:20:43 -03:00