Created
October 9, 2022 07:27
-
-
Save vaibhavgehani/06a58e5e90bce9a3b9fe74f8429c428c 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