When you use the app route in this app, all components will be aware of the server component. This is one of the differences between app route and page route at Next.js. So, if you use the client component like this code, you need to add the "use client" code.