From 0d9016dfeb8282e506b58310780fd049f5d54869 Mon Sep 17 00:00:00 2001 From: Akansha Sakhre Date: Wed, 13 Nov 2024 10:14:22 +0530 Subject: [PATCH] removed unnecessary code --- src/App.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index dacefc44e..be6b5c2b9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -13,7 +13,6 @@ import { UnauthenticatedRoute } from 'routes/UnauthenticatedRoute/Unauthenticate import { AuthenticatedRoute } from 'routes/AuthenticatedRoute/AuthenticatedRoute'; import { Logout } from 'containers/Auth/Logout/Logout'; import { checkSessionValidity } from 'common/utils'; -import axios from 'axios'; const App = () => { const navigate = useNavigate(); @@ -22,10 +21,6 @@ const App = () => { const [authenticated, setAuthenticated] = useState(); const [drawerOpen, setDrawerOpen] = useState(true); - axios - .get('http://localhost:4000/flow-editor/interactive-templates/') - .then((data) => console.log(data)); - useEffect(() => { const checkAuth = async () => { const isAccessTokenPresent = getAuthSession('accessToken') !== null;