From ba42198304c6faa7f32c31921ceff6f85af53483 Mon Sep 17 00:00:00 2001 From: bacpactech Date: Tue, 24 Dec 2024 20:57:34 +0530 Subject: [PATCH] fix: text formmating --- src/app/(withLayout)/layout.tsx | 2 +- src/app/[id]/page.tsx | 51 ------------------ src/components/Timeline/Recommendations.tsx | 4 +- src/components/Timeline/UserListItem.tsx | 16 ++++-- .../molecules/MobileLeftNavbar/index.tsx | 2 +- src/components/molecules/Tabs/FindPeople.tsx | 13 ++++- src/components/molecules/Tabs/Followers.tsx | 5 ++ src/components/molecules/Tabs/Following.tsx | 7 +++ .../organisms/userPostForm/index.tsx | 53 ++++++++++--------- src/services/community-timeline.ts | 3 ++ src/services/community-university.ts | 2 + 11 files changed, 72 insertions(+), 86 deletions(-) delete mode 100644 src/app/[id]/page.tsx diff --git a/src/app/(withLayout)/layout.tsx b/src/app/(withLayout)/layout.tsx index 46a5af4..09ad1db 100644 --- a/src/app/(withLayout)/layout.tsx +++ b/src/app/(withLayout)/layout.tsx @@ -61,7 +61,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
- + {/**/}
diff --git a/src/app/[id]/page.tsx b/src/app/[id]/page.tsx deleted file mode 100644 index 45f7cc0..0000000 --- a/src/app/[id]/page.tsx +++ /dev/null @@ -1,51 +0,0 @@ -'use client' -import Footer from '@/components/Footer/Footer' -import Modal from '@/components/Timeline/Modal' -import EditProfileModal from '@/components/Timeline/Modals/EditProfileModal' -import ProfileCard from '@/components/Timeline/ProfileCard' -import CommunityProfileContainer from '@/components/communityProfile/CommunityProfileContainer' -import { ModalContentType } from '@/types/global' -import React, { useState } from 'react' -import { useUniStore } from '@/store/store' -import ConnectionsModal from '@/components/Timeline/Modals/ConnectionsModal' -import { userProfileType } from '@/store/userProfileSlice/userProfileType' -import { userType } from '@/store/userSlice/userType' - -const Profile = () => { - const [isModalOpen, setIsModalOpen] = useState(false) - const [modalContentType, setModalContentType] = useState() - const { userData, userProfileData } = useUniStore() - - const modalContent = (modalContentType: string) => { - switch (modalContentType) { - case 'EditProfileModal': - return - case 'ConnectionsModal': - return - default: - return null - } - } - return ( - <> - setIsModalOpen(false)}> - {modalContentType && modalContent(modalContentType)} - -
- - -
-