Unable to set response.
このコンテンツはまだ日本語訳がありません。
ResponseSentError: The response has already been sent to the browser and cannot be altered.
What went wrong?
Making changes to the response, such as setting headers, cookies, and the status code cannot be done outside of page components.
Error Reference