feat: show tier history in auction spotlight

This commit is contained in:
dahyeon committed 2026-06-08 00:34:04 -07:00
1 parent de8bc87940
commit ebca348723
8 files changed
+160 -3

No files matched your search

+3 -1
View File
@@ -159,8 +159,10 @@ function TierTooltip({
export default function TierHistoryChart({
entries,
className = "border border-base-content/10 bg-base-100 mb-5 overflow-hidden",
}: {
entries: ApiTierHistoryEntry[];
className?: string;
}) {
// 데이터에 존재하는 큐 목록 (솔로 우선)
const availableQueues = useMemo(() => {
@@ -264,7 +266,7 @@ export default function TierHistoryChart({
);
return (
<section className="border border-base-content/10 bg-base-100 mb-5 overflow-hidden">
<section className={className}>
{header}
{points.length < 2 ? (
<div className="px-4 py-10 text-center text-xs text-base-content/35">