Here is an image of the error and the console error...
My code seems to be correct and the paths of the imports are good too, I don't understand why I'm getting this error.
Notifications.js
import React from 'React'
const Notifications = () => {
return(
<div>
<p>Notifications</p>
</div>
)
}
export default Notifications
ProjectList.js
import React from 'React'
const ProjectList = () => {
return(
<div>
<div className="project-list section">
<div className="card z-depth-0 project-summary">
<div className="card-content grey-text darken-3">
<span className="card-title">Project Title</span>
<p>Posted by Net Ninja</p>
<p className="grey-text">3rd September, 2018</p>
</div>
</div>
</div>
</div>
)
}
export default ProjectList