add h
This commit is contained in:
parent
dd9f5dcaaa
commit
ab204155f8
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 };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user