Skip to content

Commit f877cf4

Browse files
docs: translate purity.md to Português (Brasil)
1 parent c8481b7 commit f877cf4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/content/reference/eslint-plugin-react-hooks/lints

src/content/reference/eslint-plugin-react-hooks/lints/purity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function Component() {
5858
Chamar `Date.now()` durante a renderização torna seu componente impuro:
5959

6060
```js {expectedErrors: {'react-compiler': [3]}}
61-
//Incorreto: A hora muda a cada renderização
61+
//Errado: A hora muda a cada renderização
6262
function Clock() {
6363
return <div>Current time: {Date.now()}</div>;
6464
}
@@ -80,4 +80,4 @@ function Clock() {
8080

8181
return <div>Current time: {time}</div>;
8282
}
83-
```
83+
```

0 commit comments

Comments
 (0)