show credits

This commit is contained in:
jaehwang committed 2026-09-16 10:46:33 +09:00
1 parent d59304f833
commit 49b4178453
8 files changed
+115 -13

No files matched your search

+3 -1
View File
@@ -7,7 +7,7 @@ import { apiFetch } from "@/lib/api";
import { GATE_META, parseGoodsId, type PlayreelJob } from "@/lib/playreel";
import { AutoApprovePanel } from "@/components/auto-approve";
import { useRequireLogin } from "@/components/auth-gate";
import { useMe } from "@/lib/auth";
import { refreshMe, useMe } from "@/lib/auth";
const STATUS_LABEL: Record<string, string> = {
queued: "대기 중", running: "만드는 중", awaiting_review: "검수 대기", failed: "실패", done: "완료",
@@ -50,6 +50,8 @@ export default function PlayreelStartPage() {
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ url: url.trim() }),
});
// 남은 개수가 하나 줄었다
refreshMe();
router.push(`/playreel/${id}`);
} catch (e) {
setError((e as Error).message);