progres day 1
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
'use client'
|
||||
|
||||
import { testConnect } from '@/app/api/action';
|
||||
|
||||
async function clickHandler() {
|
||||
console.log('click');
|
||||
testConnect();
|
||||
}
|
||||
|
||||
export default function Button() {
|
||||
return (
|
||||
<button onClick={() => {
|
||||
clickHandler();
|
||||
}}>button</button>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user