|
1 | 1 | import { Typography, Box } from '@mui/material'; |
2 | 2 | import PageLayout from '../../components/PageLayout'; |
3 | | -import { useHistory } from 'react-router-dom'; |
| 3 | +// import { useHistory } from 'react-router-dom'; |
4 | 4 | import { useCurrentUser } from '../../hooks/users.hooks'; |
5 | 5 | import { useEffect } from 'react'; |
6 | 6 | 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'; |
11 | 11 | import FeaturedProjects from './components/FeaturedProjects'; |
12 | 12 |
|
13 | 13 | const IntroGuestHomePage = () => { |
14 | 14 | 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(); |
22 | 22 | const { setCurrentHomePage } = useHomePageContext(); |
23 | 23 |
|
24 | 24 | // const { |
|
0 commit comments