From c59a7988de90c59949b7a682fd0aa7b62bcf5b02 Mon Sep 17 00:00:00 2001 From: Guy Purssell <38443772+nattog@users.noreply.github.com> Date: Mon, 1 Mar 2021 17:45:26 +0000 Subject: [PATCH] Fix documentation typos (#3) * Update README.md * Update package Co-authored-by: John Chipps-Harding --- README.md | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3d95d22..0f3d085 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Actions Status][ci-image]][ci-url] [![PR Welcome][npm-downloads-image]][npm-downloads-url] -A simple react hook that allows you to store data within `LocalStorage` with same interface as the standard `React.useState` hook. +A simple React hook that allows you to store data within `LocalStorage` with the same interface as the standard `React.useState` hook. ## Introduction @@ -89,7 +89,7 @@ const SomeExample2 = () = { ### Output -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. +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. [npm-image]: https://img.shields.io/npm/v/@phntms/use-local-state.svg?style=flat-square&logo=react [npm-url]: https://npmjs.org/package/@phntms/use-local-state diff --git a/package.json b/package.json index c92b875..3968c75 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@phntms/use-local-state", - "description": "A simple react hook that allows you to store data within LocalStorage with same interface as the standard React.useState hook.", - "version": "0.0.1", + "description": "A simple React hook that allows you to store data within LocalStorage with the same interface as the standard React.useState hook.", + "version": "0.0.2", "main": "lib/index.js", "types": "lib/index.d.ts", "homepage": "https://github.com/phantomstudios/use-local-state#readme",