Ask questionswhy JSX attributes must only be assigned a non-empty expression ?
Do you want to request a feature or report a bug? Honestly I don't know
What is the current behavior? why JSX attributes must only be assigned a non-empty expression ?
Answer
questions
trustidkid
Line 14: Parsing error: JSX attributes must only be assigned a non-empty expression
12 | <Route exact path="/login" component={L} /> 13 | <Route exact path="/register" component={R} />
14 | <Route exact path="/profile" component={} /> | ^ 15 | </Switch> 16 |
17 | </div> What is the write keywords to use here?
Related questions