diff --git a/pages/index.tsx b/pages/index.tsx index 1dc9b8f..eb10244 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,15 +1,8 @@ -import Head from 'next/head'; -import Image from 'next/image'; -import { wrapper } from '@/src/store'; -import serverApi, { useGetAllUsersQuery } from '../src/services/serverApi'; -// import NewMembersCard from "@/src/components/NewMember"; -import { NEW_USER, NUM_MEMBERS_NUMBER } from '@/src/constants/AppConstants'; -import styles from '@/styles/Home.module.css'; import MembersSectionMain from '@/src/components/MembersSectionNew/MembersSectionMain'; import NewMemberSection from '@/src/components/NewMemberSection'; +import { NEW_USER } from '@/src/constants/AppConstants'; +import styles from '@/styles/Home.module.css'; import { UserType } from '../src/components/MembersSectionNew/types/MembersSection.type'; -import { MaintenancePage } from '@/src/components/MaintenancePage/MaintenancePage'; -import { useRouter } from 'next/router'; type PictureType = { publicId: string; url: string; @@ -34,25 +27,16 @@ type PropsType = { }; export default function Home() { - const { query } = useRouter() - - if (query.dev === "true") { - return ( -
We apologize for the inconvenience. Our page is currently undergoing maintenance.
-Please check back later. Thank you for your patience.
-