22 lines
479 B
TypeScript
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>
|
|
);
|
|
} |