Could not find "client" in the context or passed in as an option

Hi,
I get this error when loading my react page with ApolloClient. If I save from VS Code the page loads fine and get the “client”, but if I refresh the page in the browser or load it directly I get this error “Could not find “client” in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.”

Any assistance would be awesome!