Skip to content

Commit

Permalink
remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungJL committed Oct 31, 2024
1 parent 10d91a5 commit 95d885f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 22 deletions.
2 changes: 1 addition & 1 deletion components/molecules/PickerRowButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function PickerRowButton({
id,
isNoSelect,
}: PickerRowButtonProps) {
console.log(24, place);

return (
<Button
h={pickType === "second" ? "68px" : "92px"}
Expand Down
4 changes: 2 additions & 2 deletions components/molecules/PlaceImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function PlaceImage({ imageProps, id, hasToggleHeart, selected, size }: PlaceHea
const [heartType, setHeartType] = useState<"main" | "sub" | null>();

useEffect(() => {
console.log(234);

setHeartType(myPreferType);
}, [myPreferType]);

Expand All @@ -47,7 +47,7 @@ function PlaceImage({ imageProps, id, hasToggleHeart, selected, size }: PlaceHea
setHeartType(null);
break;
case "sub":
console.log(4534);

setHeartType(null);
break;
default:
Expand Down
8 changes: 0 additions & 8 deletions modals/promotion/PromotionAllCoolTimeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ function PromotionAllCoolTimeModal({ promotionData, setIsModal }: IPromotionAllC
item.uid !== "2636066822" &&
item.uid !== "3224546232",
).length;
const applyCnt2 = data?.filter(
(item) =>
dayjs(item.lastDate) > dayjs(PROMOTION_WIN_DATE) &&
item.uid !== "2259633694" &&
item.uid !== "2636066822" &&
item.uid !== "3224546232",
);
console.log(applyCnt2);

const footerOptions: IFooterOptions = {
children: (
Expand Down
2 changes: 1 addition & 1 deletion pageTemplates/home/HomeStudySection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function HomeStudySection() {
//session이나 userInfo보다 더 빠른 속도를 위해. 그래야 메인 데이터도 빨리 가져옴
const userLocation =
(localStorage.getItem(USER_LOCATION) as ActiveLocation) || session?.user.location;
console.log(23, userLocation);

const viewDayjs = getStudyViewDayjs(dayjs());

const [isLeft, setIsLeft] = useState(true);
Expand Down
8 changes: 1 addition & 7 deletions pageTemplates/point/pointScore/PointScoreBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ function PointScoreBar({ hasQuestion = true }: IPointScoreBar) {
"에스프레소",
1000,
];
console.log(
24,
myScoreBadge,
nextBadgeObj,
BADGE_COLOR_MAPPINGS[myScoreBadge],
SCHEME_TO_COLOR[BADGE_COLOR_MAPPINGS[myScoreBadge]],
);

return (
<>
<Layout>
Expand Down
2 changes: 1 addition & 1 deletion pageTemplates/study/StudyNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function StudyNavigation({
</Box>
{subArr?.map((props, idx) => {
const id = props.place._id;
console.log(props);

return (
<Box key={idx} mb={2} w="full">
<PickerRowButton
Expand Down
2 changes: 1 addition & 1 deletion pageTemplates/vote/VoteDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function VoteDrawer({
>
{thumbnailCardInfoArr?.map((props, idx) => {
const id = props.id;
console.log(props);

return (
<Box key={idx} mb={3}>
<PickerRowButton
Expand Down
2 changes: 1 addition & 1 deletion pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Login: NextPage<{
break;
}
}, [status]);
console.log(session);

const customSignin = async (type: "member" | "guest") => {
const provider = type === "member" ? kakaoProvider.id : "guest";
if (provider === "guest") {
Expand Down

0 comments on commit 95d885f

Please sign in to comment.