mirror of
https://github.com/sct/overseerr.git
synced 2025-12-26 08:25:07 +01:00
8 lines
234 B
TypeScript
8 lines
234 B
TypeScript
import { InteractionContext } from '@app/context/InteractionContext';
|
|
import { useContext } from 'react';
|
|
|
|
export const useIsTouch = (): boolean => {
|
|
const { isTouch } = useContext(InteractionContext);
|
|
return isTouch ?? false;
|
|
};
|