From a11e027c778082784dd48cb851ca06da68ccf778 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 18 Apr 2023 12:04:15 +1200 Subject: [PATCH] DOC Update react injector GraphQL example for CMS 5 --- .../08_ReactJS_Redux_and_GraphQL.md | 118 +++++------------- 1 file changed, 33 insertions(+), 85 deletions(-) diff --git a/en/02_Developer_Guides/15_Customising_the_Admin_Interface/08_ReactJS_Redux_and_GraphQL.md b/en/02_Developer_Guides/15_Customising_the_Admin_Interface/08_ReactJS_Redux_and_GraphQL.md index c647ce82f..b7d31152e 100644 --- a/en/02_Developer_Guides/15_Customising_the_Admin_Interface/08_ReactJS_Redux_and_GraphQL.md +++ b/en/02_Developer_Guides/15_Customising_the_Admin_Interface/08_ReactJS_Redux_and_GraphQL.md @@ -837,7 +837,7 @@ Here's what that might look like: ```js import React from 'react'; import gql from 'graphql-tag'; -import { graphql } from 'react-apollo'; +import { graphql } from '@apollo/client/react/hoc'; export const Notes = ({ notes }) => (