Skip to content

Commit 0352a3a

Browse files
committed
fix
1 parent 1fd03ec commit 0352a3a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
"@udecode/react-utils": patch
2+
'@udecode/react-utils': patch
33
---
44

5-
Fix React warning "Unexpected return value from a callback ref" in `useComposedRef`
6-
7-
The `composeRefs` function was returning a cleanup function, which violates React's rule that callback refs should not return functions. This fix ensures that `composeRefs` returns `undefined` instead, preventing the warning and potential crashes when callback refs are composed.
5+
Critical fix for 49.0.13

0 commit comments

Comments
 (0)