rebuild hrm

This commit is contained in:
2026-04-13 09:30:59 +08:00
parent 44a98495ab
commit cd31c74da8
12034 changed files with 548007 additions and 451275 deletions

View File

@@ -19,7 +19,7 @@ interface ContextValue<T> {
}
// Syncs ref from context with ref passed to hook
export function useSyncRef<T>(context?: ContextValue<T> | null, ref?: RefObject<T | null>) {
export function useSyncRef<T>(context?: ContextValue<T> | null, ref?: RefObject<T | null>): void {
useLayoutEffect(() => {
if (context && context.ref && ref) {
context.ref.current = ref.current;