chore(deps): update react to 18 (#2943)
This commit is contained in:
@@ -3,5 +3,5 @@ import { InteractionContext } from '../context/InteractionContext';
|
||||
|
||||
export const useIsTouch = (): boolean => {
|
||||
const { isTouch } = useContext(InteractionContext);
|
||||
return isTouch;
|
||||
return isTouch ?? false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user