Hey there! After the installation of SWR, you said "Copy the following code in this file:". Which is the file we need to create or modify? It is not clear 😕. Besides that, thank you for the tutorial and fantastic idea.
Kevin Wu Thank you! It is very clear now. I'm having a conflict with the params, I'm receiving undefined from the restructuring const { email } = params; Do you have an idea why? Could be related with aircode library?
There may be some problems with the Fetch header, try adding Content-Type to your fetch request header in src/app/page.tsx, e.g. 'Content-Type': 'application/json', and try again.