Skip to content

Conversation

@ErfoJS
Copy link
Contributor

@ErfoJS ErfoJS commented Nov 22, 2023

No description provided.

@vercel
Copy link

vercel bot commented Nov 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
coderscrew-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2023 1:36pm

body: JSON.stringify(data),
method: 'POST'
});
console.log(resopnse);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would like to show some popup that will tell us if it failed or succeed. react-toastify is cool

Comment on lines +7 to +13
const App = ({ Component, pageProps }: AppProps) => {
return (
<Layout>
<Component {...pageProps} />
</Layout>
);
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can revert this

if (req.method === 'POST') {
const { name, email, guild, message } = req.body;
const response = schema.safeParse(req.body);
console.log(req.body);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove console log

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert changes in this file

Copy link
Collaborator

@jedrzejratajczak jedrzejratajczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants