File size: 432 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
export default function PagesClientLog() {
return (
<div>
<button
id="log-button"
onClick={() => {
console.log('Log from pages router client component')
}}
>
Log Message
</button>
<button
id="error-button"
onClick={() => {
console.error('Error from pages router')
}}
>
Log Error
</button>
</div>
)
}
|