From 03010314c5a5641827650541fb1e7a4300bcabab Mon Sep 17 00:00:00 2001 From: karthikalakshmi Date: Mon, 30 Mar 2026 10:41:16 +0530 Subject: [PATCH] Fix #322 UseDevToolsDetection import error solving --- src/App.jsx | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 9d5c4da..a30bb2e 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -26,7 +26,6 @@ import useSubscriptionManager from './useSubscriptionManager.js'; import useSessionManager from './useSessionManager.js'; import ExtendSubscriptionModal from './Pages/ExtentedModal/ExtendSubscriptionModal.jsx'; import devtools from 'devtools-detect'; -import { useDevToolsDetection } from './utils/useDevToolsDetection.js'; import { Capacitor } from '@capacitor/core'; // const isCapacitor = () => !!window.Capacitor?.isNativePlatform?.(); @@ -201,27 +200,7 @@ const AppRoutes = () => { // return () => clearInterval(checkDevTools); // }, [devToolsOpen]); - // const isBlocked = useDevToolsDetection(() => { - // // optional: log, notify, etc. - // console.warn('DevTools detected'); - // }); - - // if (isBlocked) { - // return ( - //
- //

- // DevTools detected. Please close it to continue. - //

- //
- // ); - // } + if (extendModel) { return (