Created
December 27, 2019 11:03
-
-
Save sankita15/f1d91bd48a6a0fd2b7226ea32dfeab0b to your computer and use it in GitHub Desktop.
Redirect to invitation page
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 React from "react"; | |
import GuestInvitation from './component/GuestInvitation' | |
import { BrowserRouter as Router, Route, Switch } from "react-router-dom"; | |
const App = () => ( | |
<Router> | |
<Switch> | |
<Route exact path="/invite"> | |
<GuestInvitation /> | |
</Route> | |
</Switch> | |
</Router> | |
); | |
export default App; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment