Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungJL committed Sep 4, 2024
1 parent 12387e4 commit bf80b83
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion constants/system.ts
Original file line number Diff line number Diff line change
@@ -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";
3 changes: 1 addition & 2 deletions pageTemplates/gather/detail/GatherOrganizer.tsx
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -11,7 +10,7 @@ interface IGatherOrganizer {
}

function GatherOrganizer({ createdAt, organizer, isAdminOpen, category }: IGatherOrganizer) {
const isABOUT = organizer.uid === ABOUT_UID || isAdminOpen;
const isABOUT = isAdminOpen;
return (
<OrganizerBar organizer={organizer} createdAt={createdAt} isAdminOpen={isABOUT}>
<Badge colorScheme="redTheme" text={category} size="lg" />
Expand Down
2 changes: 1 addition & 1 deletion pageTemplates/group/detail/GroupOrganizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function GroupOrganizer({
category,
}: IGroupOrganizer) {
const writingDate = getDateDiff(dayjs(createdAt));
// const isABOUT = organizer.uid === ABOUT_UID || isAdminOpen;

return (
<Layout>
<div>
Expand Down

0 comments on commit bf80b83

Please sign in to comment.