Closed heatherbooker closed 8 years ago
currently in index.jsx I have declared a destination: var home = 'index.html';
var home = 'index.html';
but if I try to reference it later on (line 27): <h1 className='nav-logo'><a href=home>Frenchly</a></h1>
<h1 className='nav-logo'><a href=home>Frenchly</a></h1>
it throws an error.
TO DO: look into this.
@heatherbooker pretty sure it should be <a href={home}> as per: https://facebook.github.io/react/docs/jsx-in-depth.html
<a href={home}>
rad thanks @dharness
currently in index.jsx I have declared a destination:
var home = 'index.html';
but if I try to reference it later on (line 27):
<h1 className='nav-logo'><a href=home>Frenchly</a></h1>
it throws an error.
TO DO: look into this.