Skip to content

Commit

Permalink
docs: fix typo in useCallback documentation (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiCasasPla authored Oct 25, 2024
1 parent 2c4040c commit 3c44b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/useCallback.md
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ Esto asegura que los consumidores de tu Hook puedan optimizar su propio código
## Solución de problemas {/*troubleshooting*/}
### Cada ves que mi componente se renderiza, `useCallback` devuelve una función diferente {/*every-time-my-component-renders-usecallback-returns-a-different-function*/}
### Cada vez que mi componente se renderiza, `useCallback` devuelve una función diferente {/*every-time-my-component-renders-usecallback-returns-a-different-function*/}
¡Asegúrate de haber especificado el *array* de dependencias como un segundo argumento!
Expand Down

0 comments on commit 3c44b36

Please sign in to comment.