tomarrell/R2D2

Fails to render if altComponent is undefined

Closed this issue · 0 comments

Tries to retrieve the displayName property from altComponent without checking if altComponent exists. This should be done first.

-> Write tests covering not passing altComponent as prop