Remove useEffect whose removal causes no tests to fail.
Remove useEffect whose removal causes no tests to fail.

https://github.com/apollographql/apollo-client/pull/9459#discussion_r823008743

apollographql/apollo-client,apollographql/apollo-client