Skip to content

Commit 7e353be

Browse files
committed
added in the data/context provider for our routes
1 parent 0445ada commit 7e353be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/ApplicationViews.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import React, { useContext } from "react";
22
import { Switch, Route, Redirect } from "react-router-dom";
3+
import { DataProvider } from "../providers/DataProvider";
34

45
const ApplicationViews = () => {
56
return (
67
<Switch>
7-
<Route></Route>
8+
<Route>
9+
<DataProvider></DataProvider>
10+
</Route>
811
</Switch>
912
);
1013
};

0 commit comments

Comments
 (0)