You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/8/es/part8d.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ Se han resaltado líneas interesantes en el código:
57
57
58
58
```js
59
59
importReact, { useState, useEffect } from'react'
60
-
import { useMutation } from'@apollo/client'
60
+
import { useMutation } from'@apollo/client/react'
61
61
import { LOGIN } from'../queries'
62
62
63
63
constLoginForm= ({ setError, setToken }) => {
@@ -167,7 +167,8 @@ const App = () => {
167
167
Después de que el backend cambie, la creación de nuevas personas requiere que se envíe un token de usuario válido con la solicitud. Para enviar el token, tenemos que cambiar un poco la forma en que definimos el objeto _ApolloClient_ en <i>index.js</i>.
0 commit comments