add h
This commit is contained in:
2
src/h.ts
2
src/h.ts
@@ -82,7 +82,7 @@ declare global {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const useRef = <T = HTMLDivElement>(initialValue: T | null = null): RefObject<T> => {
|
export const useRef = <T = HTMLDivElement>(initialValue: T | null = null): RefObject<T | null> => {
|
||||||
return { current: initialValue };
|
return { current: initialValue };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user