Skip to content

Commit

Permalink
Delte console
Browse files Browse the repository at this point in the history
  • Loading branch information
frorong committed Mar 30, 2024
1 parent 121caa2 commit 5ad3702
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/routes/report/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export const actions = {
const subject =
formData.get('subject')
const body = formData.get('body')
// eslint-disable-next-line no-console
console.log(body)
let html = `<h2>문의가 도착했습니다.</h2><pre>${body}</pre>`

const message = {
Expand Down
8 changes: 0 additions & 8 deletions src/routes/report/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@
event.target as HTMLInputElement
title = target.value
}
const handleSubmit = () => {
console.log(
'전송된 메시지:',
message
)
}
</script>

<section>
Expand Down Expand Up @@ -63,7 +56,6 @@
></textarea>
<button
class="mt-2 rounded-md bg-blue-500 px-4 py-2 text-white hover:bg-blue-600"
on:click="{handleSubmit}"
type="submit"
>
전송
Expand Down

0 comments on commit 5ad3702

Please sign in to comment.