Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions apps/web/app/r/[reference]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,12 @@ export default async function ReceiptPage({ params }: { params: Promise<{ refere
receipt = await api.getReceipt(reference);
} catch {
return (
<html lang="en">
<body>
<main className="shell shell--narrow" style={{ textAlign: "center", paddingTop: 80 }}>
<div className="panel">
<h2 style={{ fontSize: 18, marginBottom: 8, color: "var(--text)" }}>Receipt not found</h2>
<p className="muted">No payment found for this reference. The link may still be awaiting payment, or the reference is incorrect.</p>
</div>
</main>
</body>
</html>
<main className="shell shell--narrow" style={{ textAlign: "center", paddingTop: 80 }}>
<div className="panel">
<h2 style={{ fontSize: 18, marginBottom: 8, color: "var(--text)" }}>Receipt not found</h2>
<p className="muted">No payment found for this reference. The link may still be awaiting payment, or the reference is incorrect.</p>
</div>
</main>
);
}

Expand Down