feat(wallet): enhance wallet UI and transaction item display fix(profile): update profile detail card to handle loading and error states style: improve UI consistency across profile and wallet components
8 lines
No EOL
219 B
TypeScript
8 lines
No EOL
219 B
TypeScript
"use server";
|
|
|
|
import { gooyalFetch } from "./gooyal-accounts";
|
|
import type { Account } from "@/types/api";
|
|
|
|
export async function getAccount(): Promise<Account> {
|
|
return gooyalFetch<Account>("/users/api/account/");
|
|
} |