solidjs / solid-docs-next

SolidJS Docs.
https://docs.solidjs.com/
212 stars 244 forks source link

[Content]: Typo in "onCleanUp". On the docs are written "onCleanUp", but the correct in implementation is "onCleanup" #689

Open dhanielsales opened 4 months ago

dhanielsales commented 4 months ago

📚 Subject area/topic

/index.mdx

📋 Page(s) affected (or suggested, for new content)

https://docs.solidjs.com/guides/fetching-data#refetch

📋 Description of content that is out-of-date or incorrect

In refresh section, the example show an typo in "onCleanUp" but the correct in implementation and import is "onCleanup"

Just a simple fix to correct to "onCleanup" will works well.

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

On Docs

Captura de tela de 2024-04-19 11-16-39

On Test

Captura de tela de 2024-04-19 11-16-11