Pizza-wallet / pizza-wallet

Not ready for release.
9 stars 12 forks source link

Transfer Component doesn´t load on the PR #58 #60

Closed nunocgoncalves closed 2 years ago

nunocgoncalves commented 2 years ago

Describe the bug Transfer Component doesn´t load on the PR #58

To Reproduce Steps to reproduce the behavior:

  1. Go to PR 58 Build
  2. Page doesn't load Screenshot: image Console output:
    TypeError: Cannot read properties of undefined (reading 'includes')
    at u (sendRestPayload.ts:29:12)
    at p (alchemyContext.ts:31:22)
    at m (index.ts?0e3e:173:5)
    at Qe (useWeb3.js:5:16)
    at oo (react-dom.production.min.js:157:137)
    at Jc (react-dom.production.min.js:267:460)
    at Ns (react-dom.production.min.js:250:347)
    at Ss (react-dom.production.min.js:250:278)
    at As (react-dom.production.min.js:250:138)
    at ys (react-dom.production.min.js:243:163)

Expected behavior The page should load the following plus the newly developed feature. image

Desktop (please complete the following information):

nunocgoncalves commented 2 years ago

The bug was a result of a missing ENV (REACT_APP_PROVIDER_URL) in the CI/CD environment as pointed out by @gitChimp88. Fixed!