Files
no-copy-frontend/src/app/ui/button.tsx
T
2025-11-25 17:13:16 +07:00

16 lines
254 B
TypeScript

'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>
);
}