here’s my App.js
import './App.css';
import React from 'react';
import navBar from './navBar';
function App() {
return (
<div className="App">
<navBar />
</div>
);
}
export default App;
here’s the one I’m trying to import navBar.js
import React from "react";
function navBar(){
some stuff
};
export default navBar;
it doesn’t read the navBar but reads when it’s called “Tweet” ← was the previous name of the function.