diff --git a/constants/system.ts b/constants/system.ts index 2b31fe9e0..cadd9bb98 100644 --- a/constants/system.ts +++ b/constants/system.ts @@ -1,4 +1,3 @@ export const WEB_URL = "https://studyabout.herokuapp.com"; export const SERVER_URI = process.env.NEXT_PUBLIC_SERVER_URI; export const DEFAULT_BACK_URL = "/home"; -export const ABOUT_UID = "2259633694"; diff --git a/pageTemplates/gather/detail/GatherOrganizer.tsx b/pageTemplates/gather/detail/GatherOrganizer.tsx index ef847a3a0..0ef3c1bf2 100644 --- a/pageTemplates/gather/detail/GatherOrganizer.tsx +++ b/pageTemplates/gather/detail/GatherOrganizer.tsx @@ -1,6 +1,5 @@ import { Badge } from "../../../components/atoms/badges/Badges"; import OrganizerBar from "../../../components/molecules/OrganizerBar"; -import { ABOUT_UID } from "../../../constants/system"; import { IUserSummary } from "../../../types/models/userTypes/userInfoTypes"; interface IGatherOrganizer { @@ -11,7 +10,7 @@ interface IGatherOrganizer { } function GatherOrganizer({ createdAt, organizer, isAdminOpen, category }: IGatherOrganizer) { - const isABOUT = organizer.uid === ABOUT_UID || isAdminOpen; + const isABOUT = isAdminOpen; return ( diff --git a/pageTemplates/group/detail/GroupOrganizer.tsx b/pageTemplates/group/detail/GroupOrganizer.tsx index 011d83815..acc627a09 100644 --- a/pageTemplates/group/detail/GroupOrganizer.tsx +++ b/pageTemplates/group/detail/GroupOrganizer.tsx @@ -20,7 +20,7 @@ function GroupOrganizer({ category, }: IGroupOrganizer) { const writingDate = getDateDiff(dayjs(createdAt)); - // const isABOUT = organizer.uid === ABOUT_UID || isAdminOpen; + return (