Removed deebug tools

This commit is contained in:
CHIEFSOFT\ameye
2024-11-21 12:16:36 -05:00
parent 9fb7bb3ed9
commit 5d4033348c
5 changed files with 9 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_NODE_ENV="development"
REACT_APP_FACEBOOK="https://www.facebook.com/profile.php?id=100066498622246"
REACT_APP_TWITTER="https://twitter.com/fluxtra"
+1
View File
@@ -1,4 +1,5 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_NODE_ENV="development"
REACT_APP_FACEBOOK="https://www.facebook.com/profile.php?id=100066498622246"
REACT_APP_TWITTER="https://twitter.com/fluxtra"
+1
View File
@@ -1,4 +1,5 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_NODE_ENV="production"
REACT_APP_FACEBOOK="https://www.facebook.com/profile.php?id=100066498622246"
REACT_APP_TWITTER="https://twitter.com/fluxtra"
+1
View File
@@ -3,6 +3,7 @@
"version": "0.2.0",
"private": true,
"dependencies": {
"@fvilers/disable-react-devtools": "^1.3.0",
"@react-oauth/google": "^0.11.0",
"@reduxjs/toolkit": "^1.8.2",
"@tailwindcss/line-clamp": "^0.3.1",
+5
View File
@@ -4,6 +4,11 @@ import Toaster from "./components/Helpers/Toaster";
import Default from "./components/Partials/Default";
import SocketIOContextProvider from "./components/Contexts/SocketIOContext";
import { disableReactDevTools } from '@fvilers/disable-react-devtools';
if (process.env.REACT_APP_NODE_ENV === 'production') {
disableReactDevTools();
}
function App() {
const { pathname } = useLocation();
return (