From 5afe5de39a9fa76c97d59fdb5b545098c4df578a Mon Sep 17 00:00:00 2001 From: smilking Date: Fri, 17 Sep 2021 14:51:09 +0800 Subject: [PATCH] Update index.ts --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a2737ba..5b53862 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,7 +21,7 @@ export default function useDeviceOrientationValue({ limit = 15, sensitivityX = 180, sensitivityY = 90, -}: Props = {}) { +}) { const [rotation, setRotation] = useState({ x: 0, y: 0,