Skip to content

Commit

Permalink
Update content/docs/hooks-effect.md
Browse files Browse the repository at this point in the history
Co-Authored-By: WeslleyNasRocha <[email protected]>
  • Loading branch information
Jhon Mike and WeslleyNasRocha authored Mar 1, 2019
1 parent 36b4262 commit 1ea799e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/hooks-effect.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ O *Effect Hook* (Hook de Efeito) te permite executar efeitos colaterais em compo
```js{1,6-10}
import React, { useState, useEffect } from 'react';
function Exemple() {
function Exemplo() {
const [count, setCount] = useState(0);
// Similar ao componentDidMount e componentDidUpdate:
Expand Down

0 comments on commit 1ea799e

Please sign in to comment.