Skip to content

Commit

Permalink
Merge pull request #239 from Meetfolio-Project-CodeZ-Team/develop
Browse files Browse the repository at this point in the history
merge to main
  • Loading branch information
Minkyu0424 authored Jun 6, 2024
2 parents 7f66584 + 314628f commit 901d2ae
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/app/(route)/edit-experience/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import ExpFinishContainer from '@/app/components/experience/ExpFinishContainer'
import ExpInfoContainer from '@/app/components/experience/ExpInfoContainer'
import ExpKeywordContainer from '@/app/components/experience/ExpKeywordContainer'
import Header from '@/app/components/layout/Header'
import { transKeyword } from '@/app/utils/transKeyword'
import { useEffect, useState } from 'react'
import { useRecoilState } from 'recoil'
import { expData, expNum } from '../../../recoil/experience'
import { transKeyword } from '@/app/utils/transKeyword'

const EditExperiencePage = ({ params }: { params: { id: string } }) => {
const [experienceNumber, setExperienceNumber] = useRecoilState(expNum)
Expand Down Expand Up @@ -54,9 +54,7 @@ const EditExperiencePage = ({ params }: { params: { id: string } }) => {
<section className="flex flex-col items-center min-h-screen relative">
<Header nickname={userInfo?.memberName} profile={userInfo?.profile} />
<div className="w-[1440px] mb-[250px]">
{experienceNumber === 0 && (
<ExpInfoContainer isEdit={true} id={params.id} />
)}
{experienceNumber === 0 && <ExpInfoContainer />}
{experienceNumber === 1 && <ExpKeywordContainer />}
{experienceNumber === 2 && (
<ExpContentContainer isEdit={true} id={params.id} />
Expand All @@ -68,4 +66,3 @@ const EditExperiencePage = ({ params }: { params: { id: string } }) => {
}

export default EditExperiencePage

0 comments on commit 901d2ae

Please sign in to comment.