mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-05 19:59:20 +00:00
fix lint
This commit is contained in:
@@ -80,7 +80,7 @@ export const Modal: FC<Props> = ({
|
|||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
// Empirically, Chrome on Android can end up not matching (hover: none), but
|
// Empirically, Chrome on Android can end up not matching (hover: none), but
|
||||||
// still matching (pointer: coarse) :/
|
// still matching (pointer: coarse) :/
|
||||||
const touchscreen = true; //useMediaQuery("(hover: none) or (pointer: coarse)");
|
const touchscreen = useMediaQuery("(hover: none) or (pointer: coarse)");
|
||||||
const onOpenChange = useCallback(
|
const onOpenChange = useCallback(
|
||||||
(open: boolean) => {
|
(open: boolean) => {
|
||||||
if (!open) onDismiss?.();
|
if (!open) onDismiss?.();
|
||||||
|
|||||||
Reference in New Issue
Block a user