Skip to content

Commit c25ea8e

Browse files
committed
chore: revert null check change
1 parent da460ec commit c25ea8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/xr/src/origin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const XROrigin = forwardRef<Group, XROriginProps>(({ children, disabled,
2424

2525
useEffect(() => {
2626
const group = internalRef.current
27-
if (!group || disabled) {
27+
if (group == null || disabled) {
2828
return
2929
}
3030

0 commit comments

Comments
 (0)