Files
no-copy-frontend/src/app/ui/button-test.tsx
T

15 lines
271 B
TypeScript
Raw Normal View History

2025-11-25 17:13:16 +07:00
'use client'
2025-11-27 21:33:53 +07:00
import { testConnect } from '@/app/lib/action';
2025-11-25 17:13:16 +07:00
async function clickHandler() {
testConnect();
}
2025-11-26 14:01:35 +07:00
export default function ButtonTest() {
2025-11-25 17:13:16 +07:00
return (
2025-11-26 14:01:35 +07:00
<button className='border-2 cursor-pointer' onClick={() => {
2025-11-25 17:13:16 +07:00
clickHandler();
}}>button</button>
);
}