Skip to content

Commit db5dc92

Browse files
committed
comment out currently unused but important code
1 parent 64f6b22 commit db5dc92

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/frontend/src/pages/HomePage/IntroGuestHomePage.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
import { Typography, Box } from '@mui/material';
22
import PageLayout from '../../components/PageLayout';
3-
import { useHistory } from 'react-router-dom';
3+
// import { useHistory } from 'react-router-dom';
44
import { useCurrentUser } from '../../hooks/users.hooks';
55
import { useEffect } from 'react';
66
import { useHomePageContext } from '../../app/HomePageContext';
7-
import { useCurrentOrganization } from '../../hooks/organizations.hooks';
8-
import LoadingIndicator from '../../components/LoadingIndicator';
9-
import ErrorPage from '../ErrorPage';
10-
import { useGetImageUrl } from '../../hooks/onboarding.hook';
7+
// import { useCurrentOrganization } from '../../hooks/organizations.hooks';
8+
// import LoadingIndicator from '../../components/LoadingIndicator';
9+
// import ErrorPage from '../ErrorPage';
10+
// import { useGetImageUrl } from '../../hooks/onboarding.hook';
1111
import FeaturedProjects from './components/FeaturedProjects';
1212

1313
const IntroGuestHomePage = () => {
1414
const user = useCurrentUser();
15-
const history = useHistory();
16-
const {
17-
data: organization,
18-
isLoading: organizationIsLoading,
19-
isError: organizationIsError,
20-
error: organizationError
21-
} = useCurrentOrganization();
15+
// const history = useHistory();
16+
// const {
17+
// data: organization,
18+
// isLoading: organizationIsLoading,
19+
// isError: organizationIsError,
20+
// error: organizationError
21+
// } = useCurrentOrganization();
2222
const { setCurrentHomePage } = useHomePageContext();
2323

2424
// const {

0 commit comments

Comments
 (0)