Skip to content

Commit 71be156

Browse files
committed
chore: fixed readme typos
1 parent c9148b8 commit 71be156

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# react-pointer-lock
1+
# react-pointer-lock-hook
22

33
A lightweight and type-safe React hook for the Pointer Lock API.
44

55
## Installation
66

77
```shell
8-
npm install react-pointer-lock
8+
npm install react-pointer-lock-hook
99
```
1010

1111
## Usage
1212

1313
```ts
1414
import { useRef } from 'react';
15-
import { usePointerLock } from 'react-pointer-lock-form';
15+
import { usePointerLock } from 'react-pointer-lock-hook';
1616

1717
const MapViewer = () => {
1818
const mapRef = useRef<HTMLDivElement>(null);

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-pointer-lock-hook",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"type": "module",
55
"description": "A lightweight and type-safe React hook for the Pointer Lock API",
66
"author": "Jure Rotar <hello@jurerotar.com>",
@@ -23,7 +23,7 @@
2323
"import": "./dist/use-pointer-lock.js"
2424
}
2525
},
26-
"module": "dist/index.js",
26+
"module": "dist/use-pointer-lock.js",
2727
"files": ["dist"],
2828
"scripts": {
2929
"dev": "tsup --watch",

0 commit comments

Comments
 (0)