diff --git a/frontend-temp/src/constants/index.js b/frontend-temp/src/constants/index.js index 5f325f5..7b52724 100644 --- a/frontend-temp/src/constants/index.js +++ b/frontend-temp/src/constants/index.js @@ -57,16 +57,3 @@ export const MONTH_NAMES = [ '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월', ]; - -/** 멤버 한글 이름 → 영어 이름 매핑 */ -export const MEMBER_ENGLISH_NAMES = { - 송하영: 'HAYOUNG', - 박지원: 'JIWON', - 이채영: 'CHAEYOUNG', - 이나경: 'NAKYUNG', - 백지헌: 'JIHEON', - 장규리: 'GYURI', - 이새롬: 'SAEROM', - 노지선: 'JISUN', - 이서연: 'SEOYEON', -}; diff --git a/frontend-temp/src/pages/schedule/mobile/Birthday.jsx b/frontend-temp/src/pages/schedule/mobile/Birthday.jsx index 420c9e1..70ef363 100644 --- a/frontend-temp/src/pages/schedule/mobile/Birthday.jsx +++ b/frontend-temp/src/pages/schedule/mobile/Birthday.jsx @@ -3,7 +3,6 @@ import { useQuery } from '@tanstack/react-query'; import { motion } from 'framer-motion'; import { ChevronLeft } from 'lucide-react'; import { fetchApi } from '@/api/client'; -import { MEMBER_ENGLISH_NAMES } from '@/constants'; /** * Mobile 생일 페이지 @@ -13,7 +12,6 @@ function MobileBirthday() { // URL 디코딩 const decodedMemberName = decodeURIComponent(memberName || ''); - const englishName = MEMBER_ENGLISH_NAMES[decodedMemberName]; // 멤버 정보 조회 const { @@ -61,7 +59,7 @@ function MobileBirthday() {
{year}년 {birthdayThisYear?.getMonth() + 1}월 {birthdayThisYear?.getDate()}일
diff --git a/frontend-temp/src/pages/schedule/pc/Birthday.jsx b/frontend-temp/src/pages/schedule/pc/Birthday.jsx
index 77da9cd..a59256f 100644
--- a/frontend-temp/src/pages/schedule/pc/Birthday.jsx
+++ b/frontend-temp/src/pages/schedule/pc/Birthday.jsx
@@ -3,7 +3,6 @@ import { useQuery } from '@tanstack/react-query';
import { motion } from 'framer-motion';
import { ChevronRight } from 'lucide-react';
import { fetchApi } from '@/api/client';
-import { MEMBER_ENGLISH_NAMES } from '@/constants';
/**
* PC 생일 페이지
@@ -13,7 +12,6 @@ function PCBirthday() {
// URL 디코딩
const decodedMemberName = decodeURIComponent(memberName || '');
- const englishName = MEMBER_ENGLISH_NAMES[decodedMemberName];
// 멤버 정보 조회
const {
@@ -61,7 +59,7 @@ function PCBirthday() {
{year}년 {birthdayThisYear?.getMonth() + 1}월 {birthdayThisYear?.getDate()}일