Skip to content

Commit a1c14d3

Browse files
committed
improve error message
1 parent fdf19f2 commit a1c14d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/routes/recipients+/_layout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ export function ErrorBoundary() {
9696
<GeneralErrorBoundary
9797
statusHandlers={{
9898
404: ({ params }) => (
99-
<p>No user with the username "{params.username}" exists</p>
99+
<p>
100+
No user with the recipient with the id "{params.recipientId}" exists
101+
</p>
100102
),
101103
}}
102104
/>

0 commit comments

Comments
 (0)