Skip to content

Commit

Permalink
delete : Unnecessary console
Browse files Browse the repository at this point in the history
  • Loading branch information
asroq1 committed Jan 16, 2024
1 parent e5d0ef6 commit 28475cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/app/showcase/edit/panel/ShowcaseEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const ShowcaseEditor = ({ data }: IShowcaseEditorProps) => {
links: links,
},
)
console.log(`/api/showcase response : ${response}`)
redirect(`/showcase/${response.data.get('id')}`) // next 13에서 redirect 하는 법
} catch (error: any) {
if (error.response) {
Expand Down Expand Up @@ -104,10 +103,6 @@ const ShowcaseEditor = ({ data }: IShowcaseEditorProps) => {
setErrorMessages('요청을 설정하는 중에 에러가 발생했습니다.')
}
}
console.log('링크', links[0].linkName, links[0].linkUrl)
alert(
`links : ${links} ${image} Coverimage : ${previewImage}, content : ${text}, teamId : ${content},`,
)
}

// if (isLoading) return <div>로딩중</div>
Expand Down
1 change: 0 additions & 1 deletion src/app/showcase/edit/panel/formPanel/LinkForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const LinkForm = ({
onClick={() => {
if (links.length >= 5) return
addLink('', '')
console.log('links', links)
}}
>
<PlusIcon sx={Style.IconStyle} />
Expand Down

0 comments on commit 28475cd

Please sign in to comment.