This commit is contained in:
2026-04-04 23:54:52 +07:00
parent c0022b638f
commit 6ea6976c41
4 changed files with 213 additions and 136 deletions

11
src/app/testing/page.tsx Normal file
View File

@@ -0,0 +1,11 @@
import { API } from "../../../api";
export default async function GetUser() {
let data = await fetch(API.User.CURRENT, {
credentials: "include",
});
let result = await data.json();
console.log("Current User from GetUser component:", result);
return <div className="">GetUser</div>;
}