The convention is for file names for files that export a React component is to start with a capital letter (just like component variable names should also start with a capital letter).
ie nav.js should be Nav.js
Note that this doesn't apply to anything in your pages/ directory as these are routes rather than components
The convention is for file names for files that export a React component is to start with a capital letter (just like component variable names should also start with a capital letter).
ie
nav.js
should beNav.js
Note that this doesn't apply to anything in your
pages/
directory as these are routes rather than components