Skip to content

Commit

Permalink
previous page link not linking to previous page, but to the second la…
Browse files Browse the repository at this point in the history
…st. (reactjs#1959)

* previous page link is not linking to the previous page, but to the second last.

The example code is on both, the `Introducing Hooks` as well as `Hooks at a Glance` page, but the linked page is the `Introducing Hooks` and I think that's the right one (the `Hooks at a Glance` page probably got added later?).

Not sure about the phrasing so, having "introduce" twice in one sentence ...

* Update content/docs/hooks-state.md

Co-Authored-By: 0xnoob <49793844+0xnoob@users.noreply.github.com>


Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
  • Loading branch information
0xnoob and lex111 committed May 3, 2019
1 parent b8b3db7 commit b169178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/hooks-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prev: hooks-overview.html

*Hooks* are a new addition in React 16.8. They let you use state and other React features without writing a class.

The [previous page](/docs/hooks-intro.html) introduced Hooks with this example:
The [introduction page](/docs/hooks-intro.html) used this example to get familiar with Hooks:

```js{4-5}
import React, { useState } from 'react';
Expand Down

0 comments on commit b169178

Please sign in to comment.