Created
October 3, 2022 09:37
-
-
Save vaibhavgehani/9a06e5be7177a6ef3871e7d72d697eec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import './App.css'; | |
import SocialLogin from './Screens/Login'; | |
import { Route, Routes, BrowserRouter } from 'react-router-dom'; | |
import Home from './Screens/Home'; | |
function App() { | |
return ( | |
<BrowserRouter> | |
<Routes> | |
<Route exact path="/" element={<SocialLogin/>}></Route> | |
<Route exact path="/home" element={<Home/>}></Route> | |
</Routes> | |
</BrowserRouter> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment