Skip to content

Commit

Permalink
[UPDATE] - Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniloNicacio committed Feb 8, 2024
1 parent 873b474 commit dd892a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/api/send/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const fromEmail = process.env.FROM_EMAIL;

export async function POST(req, res) {
const { email, subject, message } = await req.json();
console.log(email, subject, message);
try {
const data = await resend.emails.send({
from: fromEmail,
Expand Down
1 change: 0 additions & 1 deletion app/components/EmailSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const EmailSection = () => {
const resData = await response.json()

if (response.status === 200) {
console.log("Message sent.")
setEmailSubmitted(true)
}
}
Expand Down

0 comments on commit dd892a9

Please sign in to comment.