[1Ramp Alpha Web App] - Some profiles don't load (Null Images within feed)

Project Information

  1. Repository: https://github.com/hapramp/alpha-web
  2. Project Name: 1Ramp Alpha Web App
  3. Publisher (if applicable): @singhpratyush

Expected behavior

A users profile should load and upon load, a user should then be able to navigate around that profile.

Actual Behaviour

When visiting the profile for @tobias-g (https://alpha.1ramp.io/@tobias-g) the profile loads initially, but then a white screen is shown.

Steps to reproduce

  1. Go to https://alpha.1ramp.io/@utopian-io
  2. Note that it loads successfully.
  3. Go to https://alpha.1ramp.io/@tobias-g
  4. Note that it initially loads, then shows a blank screen.

Error

The following error is shown upon load of the profile for @tobias-g

react-dom.production.min.js:164 

TypeError: Cannot read property 'length' of null
    at g (index.js:25)
    at beginWork (react-dom.production.min.js:132)
    at i (react-dom.production.min.js:161)
    at a (react-dom.production.min.js:161)
    at s (react-dom.production.min.js:162)
    at w (react-dom.production.min.js:169)
    at _ (react-dom.production.min.js:168)
    at p (react-dom.production.min.js:167)
    at d (react-dom.production.min.js:165)
    at Object.enqueueSetState (react-dom.production.min.js:108)
    at l.o.setState (react.production.min.js:13)
    at l.onStateChange (connectAdvanced.js:205)
    at Object.notify (Subscription.js:26)
    at e.notifyNestedSubs (Subscription.js:65)
    at l.onStateChange (connectAdvanced.js:202)
    at Object.notify (Subscription.js:26)

Environment

  • Browser: Google Chrome (Version 65.0.3325.162 (Official Build) (64-bit))
  • Device: MacBook Pro (Retina, 15-inch, Late 2013)
  • Operating system: MacOS HighSierra Version 10.13

I also tested this on Firefox Quantum 57.0.4 (64-bit) and the same issue takes place.

Recording of Issue

The issue mentioned above can be seen in the video below:

GitHub Account

A link to my GitHub account can be found below:

https://github.com/tobias-g1

The issue was submitted to the repository here:

https://github.com/hapramp/alpha-web/issues/76

and resolved by the project owner in the following commit:

https://github.com/hapramp/alpha-web/commit/7dc0afd5636bd7855b31c0aa39aeebef5fad4625

H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
3 Comments