Skip to content

Commit

Permalink
Fix : 수료증 12기 & 기획 및 디자인 추가 (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
teagu123 authored Jan 14, 2025
1 parent f6856b2 commit 808a604
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/pages/mypage/components/Common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export function convertPart(role: string) {
ADMIN: '관리자',
PM: '기획',
DESIGNER: '디자인',
PM_DESIGNER: '기획디자인',
FRONTEND: '프론트엔드',
BACKEND: '백엔드',
PM_DESIGNER: '기획 및 디자인',
};

if (role in roleDict) {
Expand Down
6 changes: 3 additions & 3 deletions src/pages/mypage/components/UserInfoModify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import { IuserModify } from '../../../inteface/myPageType';
const trackOptions = [
{ value: 1, label: '기획' },
{ value: 2, label: '디자인' },
{ value: 3, label: '기획 & 디자인' },
{ value: 4, label: '백엔드' },
{ value: 5, label: '프론트엔드' },
{ value: 3, label: '백엔드' },
{ value: 4, label: '프론트엔드' },
{ value: 5, label: '기획 및 디자인' },
];

function findLabelByValue(value: number) {
Expand Down
6 changes: 1 addition & 5 deletions src/pages/mypage/modal/CertificateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ interface CertificateModalProps {
}

const CertificateModal: React.FC<CertificateModalProps> = ({ onClose }) => {
const trackOptions = [
{ value: 12, label: '12기' },
{ value: 11, label: '11기' },
{ value: 10, label: '10기' },
];
const trackOptions = [{ value: 12, label: '12기' }];

const [ordinal, setOrdinal] = useState<number | undefined>(undefined);
const [isError, setIsError] = useState<boolean>(false);
Expand Down
1 change: 1 addition & 0 deletions src/pages/signUp/components/customSelectStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const genStyle = {
boxShadow: '0 0 0 0px transparent',
border: '1px solid var(--grey-400, #DCDFE3)',
backgroundColor: 'white',
width: '133px',
display: 'flex',
flexDirection: 'column',
}),
Expand Down

0 comments on commit 808a604

Please sign in to comment.