Skip to content

Commit

Permalink
#13 Add Traveler data context to app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jun 29, 2023
1 parent e6b8bd9 commit 905ccdc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ import App from "./App";
import reportWebVitals from "./reportWebVitals";
import { BrowserRouter as Router } from "react-router-dom";
import { CurrentUserProvider } from "./contexts/CurrentUserContext";
import { TravelerDataProvider } from "./contexts/TravelerDataContext";

ReactDOM.render(
<React.StrictMode>
<Router>
<CurrentUserProvider>
<App />
<TravelerDataProvider>
<App />
</TravelerDataProvider>
</CurrentUserProvider>
</Router>
</React.StrictMode>,
Expand Down

0 comments on commit 905ccdc

Please sign in to comment.