9 lines
237 B
TypeScript
9 lines
237 B
TypeScript
import { useCallback } from 'react';
|
|
|
|
export function useMobileNavigation() {
|
|
return useCallback(() => {
|
|
// Remove pointer-events style from body...
|
|
document.body.style.removeProperty('pointer-events');
|
|
}, []);
|
|
}
|