Address greptile review feedback (greploop iteration 2)

Add missing marginTop: 8 to Current expiry Text element to
restore the mt-2 spacing from the original div.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
yuneng-jiang 2026-03-23 22:15:43 -07:00
parent 345af54100
commit 52343c1a99

View file

@ -221,7 +221,7 @@ export function RegenerateKeyModal({ selectedToken, visible, onClose, onKeyUpdat
<Form.Item name="duration" label="Expire Key (eg: 30s, 30h, 30d)" style={{ marginTop: 32 }}>
<Input placeholder="" />
</Form.Item>
<Text type="secondary" style={{ fontSize: 12, display: "block" }}>
<Text type="secondary" style={{ fontSize: 12, display: "block", marginTop: 8 }}>
Current expiry: {selectedToken?.expires ? new Date(selectedToken.expires).toLocaleString() : "Never"}
</Text>
{newExpiryTime && (