diff --git a/package.json b/package.json index b3fb384..048c9bb 100644 --- a/package.json +++ b/package.json @@ -54,5 +54,6 @@ "whitelist": [ "API_URL" ] - } + }, + "proxy": "http://localhost:3001" } diff --git a/src/App.tsx b/src/App.tsx index ec25d07..f177f4a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,6 +4,7 @@ import { Outlet } from "react-router-dom"; import Nav from "./components/home/NavBar"; import { ThemeProvider } from "./context/ThemeContext"; import Footer from "./components/home/Footer"; +import UserProvider from "./context/UserContext"; // const client = new ApolloClient({ // uri: "/graphql", @@ -11,13 +12,14 @@ import Footer from "./components/home/Footer"; // }); function App() { - console.log("Welcome to RonanServices! Want to contribute?"); return ( - -