mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
10 lines
193 B
JavaScript
10 lines
193 B
JavaScript
import { Client } from './client'
|
|
|
|
export default function Page() {
|
|
async function handleClick() {
|
|
'use server'
|
|
console.log('clicked')
|
|
}
|
|
return <Client onClick={handleClick} />
|
|
}
|