Browse Source

previous page link not linking to previous page, but to the second last. (#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>
main
0xnoob 6 years ago
committed by Alexey Pyltsyn
parent
commit
b1691780aa
  1. 2
      content/docs/hooks-state.md

2
content/docs/hooks-state.md

@ -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';

Loading…
Cancel
Save