Skip to content

Commit

Permalink
hotfix error
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungJL committed Nov 17, 2024
1 parent 051ef89 commit c42b365
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pageTemplates/gather/detail/GatherHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Box, Flex } from "@chakra-ui/react";
import dayjs from "dayjs";
import { useSession } from "next-auth/react";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/router";
import { useSession } from "next-auth/react";
import { useState } from "react";
import styled from "styled-components";

Expand Down
2 changes: 1 addition & 1 deletion pageTemplates/study/StudyMembers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function StudyMembers({ date, members, absences }: IStudyMembers)
}>();
const myStudyParticipation = useRecoilValue(myStudyParticipationState);
const studyType = checkStudyType(myStudyParticipation);

console.log(members);
const { mutate: setRealTimeComment } = useRealTimeCommentMutation({
onSuccess: () => handleSuccessChange(),
});
Expand Down
12 changes: 7 additions & 5 deletions pages/group/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,14 @@ function GroupDetail() {
))}
</UnorderedList>
</Box>
<Box lineHeight="20px" mt={4} fontSize="13px">
<Box>
<b style={{ color: "var(--gray-800)" }}>단톡방 링크</b>(가입 후 입장)
{group?.link && (
<Box lineHeight="20px" mt={4} fontSize="13px">
<Box>
<b style={{ color: "var(--gray-800)" }}>단톡방 링크</b>(가입 후 입장)
</Box>
<BlurredLink isBlur={!isMember} url={group.link} />
</Box>
<BlurredLink isBlur={!isMember} url={group.link} />
</Box>
)}
<Flex mt={4}>
{group.hashTag?.split("#").map((tag, idx) =>
tag ? (
Expand Down
8 changes: 5 additions & 3 deletions pages/vote/attend/configuration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,14 @@ function Configuration() {
}

if (
isParticipationStudy &&
(myStudyParticipation?.place as StudyPlaceProps)?.fullname ===
transferStudyAttendance?.place?.name
!transferStudyAttendance ||
(isParticipationStudy &&
(myStudyParticipation?.place as StudyPlaceProps)?.fullname ===
transferStudyAttendance?.place?.name)
) {
setIsChecking(true);
handleArrived({ memo: attendMessage, endHour: convertTimeStringToDayjs(endTime) });
if (!transferStudyAttendance) return;
formData.append("image", transferStudyAttendance.image);
formData.append("path", "studyAttend");
imageUpload(formData);
Expand Down

0 comments on commit c42b365

Please sign in to comment.