import React from "react" ; import { ApolloProvider } from "@apollo/react-components" ; import { Routes } from "@webiny/app/components/Routes" ; import { BrowserRouter } from "@webiny/react-router" ; import { createApolloClient } from "./apollo" ; import "./App.scss" ; export const App = ( ) => ( < > { } < ApolloProvider client = { createApolloClient ( { uri : process . env . REACT_APP_GRAPHQL_API_URL } ) } > { } < BrowserRouter basename = { process . env . PUBLIC_URL } > < Routes /> < /BrowserRouter> < /ApolloProvider> < />);