Skip to content

Commit

Permalink
removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Nov 13, 2024
1 parent 75b2531 commit 0d9016d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -22,10 +21,6 @@ const App = () => {
const [authenticated, setAuthenticated] = useState<any>();
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;
Expand Down

0 comments on commit 0d9016d

Please sign in to comment.