Skip to content

Commit c59a798

Browse files
nattogJohn Chipps-Harding
andauthored
Fix documentation typos (#3)
* Update README.md * Update package Co-authored-by: John Chipps-Harding <[email protected]>
1 parent 632d015 commit c59a798

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Actions Status][ci-image]][ci-url]
55
[![PR Welcome][npm-downloads-image]][npm-downloads-url]
66

7-
A simple react hook that allows you to store data within `LocalStorage` with same interface as the standard `React.useState` hook.
7+
A simple React hook that allows you to store data within `LocalStorage` with the same interface as the standard `React.useState` hook.
88

99
## Introduction
1010

@@ -89,7 +89,7 @@ const SomeExample2 = () = {
8989
9090
### Output
9191
92-
An array containing the value and a function to set the value. Signiature is exactly like the standard [React.useState](https://reactjs.org/docs/hooks-state.html) hook.
92+
An array containing the value and a function to set the value. Signature is exactly like the standard [React.useState](https://reactjs.org/docs/hooks-state.html) hook.
9393
9494
[npm-image]: https://img.shields.io/npm/v/@phntms/use-local-state.svg?style=flat-square&logo=react
9595
[npm-url]: https://npmjs.org/package/@phntms/use-local-state

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@phntms/use-local-state",
3-
"description": "A simple react hook that allows you to store data within LocalStorage with same interface as the standard React.useState hook.",
4-
"version": "0.0.1",
3+
"description": "A simple React hook that allows you to store data within LocalStorage with the same interface as the standard React.useState hook.",
4+
"version": "0.0.2",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
77
"homepage": "https://github.com/phantomstudios/use-local-state#readme",

0 commit comments

Comments
 (0)