fix(rectification): show the house table and hide the activity fold
Independent Staging Quality Gate / validate (push) Failing after 9m39s
Independent Staging Quality Gate / publish (push) Has been skipped

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-19 20:11:51 +08:00
co-authored by Cursor
parent 4c33329b0c
commit c8af18e90a
19 changed files with 438 additions and 100 deletions
@@ -0,0 +1,38 @@
"use client";
import type { RectificationHouseTable } from "@/lib/rectification-candidate-result";
export function RectificationHouseTableView({
table,
}: Readonly<{ table: RectificationHouseTable }>) {
return (
<section className="rectification-house-table" aria-label="本命宫位表">
<div className="rectification-house-table__heading">
<strong></strong>
<span>
{table.time} {table.lagna}
</span>
</div>
<div className="markdown-table">
<table>
<thead>
<tr>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
{table.houses.map((house) => (
<tr key={house.house}>
<th scope="row">{house.house}</th>
<td>{house.sign}</td>
<td>{house.occupants.length > 0 ? house.occupants.join("、") : "—"}</td>
</tr>
))}
</tbody>
</table>
</div>
</section>
);
}