chore(lint): clear biome warning (unused dt2) and redundant fragment
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
47bd04aec0
commit
9887d8b311
2 files changed
+3
-5
No files matched your search
@@ -129,7 +129,7 @@ describe.skipIf(!hasPg)("订阅增强(真实 PG + mock qB + 临时目录)", () =
|
|||||||
).toEqual([{ unit_keys: ["s1e2"] }]);
|
).toEqual([{ unit_keys: ["s1e2"] }]);
|
||||||
|
|
||||||
const dt1 = await submit(p1);
|
const dt1 = await submit(p1);
|
||||||
const dt2 = await submit(p2);
|
await submit(p2);
|
||||||
expect((await slotRow(slotId)).status).toBe("downloading");
|
expect((await slotRow(slotId)).status).toBe("downloading");
|
||||||
await completeAndImport(e1.hash, dt1);
|
await completeAndImport(e1.hash, dt1);
|
||||||
// E01 入库,但 E02 仍在途:Slot 显示在途阶段而不是静止态;分集账本登记 E01
|
// E01 入库,但 E02 仍在途:Slot 显示在途阶段而不是静止态;分集账本登记 E01
|
||||||
|
|||||||
@@ -417,8 +417,7 @@ function PolicyDetailSheet({
|
|||||||
description={rev ? <span className="font-mono">{rev.policyKey}</span> : null}
|
description={rev ? <span className="font-mono">{rev.policyKey}</span> : null}
|
||||||
footer={
|
footer={
|
||||||
rev ? (
|
rev ? (
|
||||||
<>
|
rev.status === "draft" ? (
|
||||||
{rev.status === "draft" ? (
|
|
||||||
<>
|
<>
|
||||||
<Button variant="outline" onClick={() => onEdit(rev)}>
|
<Button variant="outline" onClick={() => onEdit(rev)}>
|
||||||
<Pencil />
|
<Pencil />
|
||||||
@@ -485,8 +484,7 @@ function PolicyDetailSheet({
|
|||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
</>
|
</>
|
||||||
)}
|
)
|
||||||
</>
|
|
||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user