AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

use-mobile-navigation.ts 285B

12345678910
  1. import { useCallback } from 'react';
  2. export type CleanupFn = () => void;
  3. export function useMobileNavigation(): CleanupFn {
  4. return useCallback(() => {
  5. // Remove pointer-events style from body...
  6. document.body.style.removeProperty('pointer-events');
  7. }, []);
  8. }