Closed QZ-SFRIGHT closed 2 years ago
`import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; //import { Link } from 'react-router-dom'; import HomeScreen from './Screens/HomeScreen'; import ProductScreen from './Screens/ProductScreen';
function App() { return (
); }
export default App; ` this is an updated Router function that is working with the old coDE IS NOT working.
`import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; //import { Link } from 'react-router-dom'; import HomeScreen from './Screens/HomeScreen'; import ProductScreen from './Screens/ProductScreen';
function App() { return (
); }
export default App; ` this is an updated Router function that is working with the old coDE IS NOT working.