From ab204155f8a74e30e681dc5938fe878684084a4a Mon Sep 17 00:00:00 2001 From: xion Date: Wed, 19 Feb 2025 07:02:56 +0800 Subject: [PATCH] add h --- src/h.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h.ts b/src/h.ts index 5b64a3a..86e0b57 100644 --- a/src/h.ts +++ b/src/h.ts @@ -82,7 +82,7 @@ declare global { } } -export const useRef = (initialValue: T | null = null): RefObject => { +export const useRef = (initialValue: T | null = null): RefObject => { return { current: initialValue }; };