Removed deebug tools
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user