uclasoles/UCLA-SOLES-website

Look into why react-router Route doesn't want to take components in

Open

#27 opened on Jul 24, 2019

 (0 comments) (0 reactions) (0 assignees)JavaScript (1 fork)auto 404
cleanupgood first issueimpact-low

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

Description

For some reason you need to declare components in react-router Route component like this: <Route exact path={ROUTES.SIGN_UP} render={(props) => <SignUp {...props} />} /> instead of like this:

In order to not get red warnings on Mozilla FireFox.

Contributor guide