We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2832655 commit 21d7cfbCopy full SHA for 21d7cfb
src/views/contact/ContactItem.tsx
@@ -62,13 +62,8 @@ export default function ContactItem({ contact }: ContactItemProps) {
62
});
63
64
if (isError) {
65
- return (
66
- <div className="contents">
67
- <div className="col-span-6 flex items-center justify-center py-4 text-red-500">
68
- Error loading contact details
69
- </div>
70
71
- );
+ // TODO: Handle error more gracefully. Do not display error in the UI.
+ console.error('Error loading contact details:', contact.address);
72
}
73
74
return (
0 commit comments