Files
frontend/apps/fo/app/pages/(with-layout)/test/page.tsx
T
2025-10-27 20:26:05 +09:00

22 lines
479 B
TypeScript

"use client";
import React from "react";
export default function TestPage() {
const handleFindUser = () => {
fetch('/operation-service/api/v1/fclt/flow/1/10/2024', {
method: "GET",
}).then((data) => {
console.log(data);
});
};
return (
<div className="text-4xl">
<span>여기를 click</span>
<button onClick={handleFindUser} className="bg-blue-500 hover:bg-blue-700 text-white">
버튼
</button>
</div>
);
}