Skip to content

Commit aabb96a

Browse files
MananTankjnsdls
authored andcommitted
remove duplicated error UI
1 parent 36b9f50 commit aabb96a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/contract-webhooks/contract-webhooks-page.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,6 @@ export async function ContractsWebhooksPageContent(props: {
3737
console.error("Error loading project or webhooks", error);
3838
}
3939

40-
if (errorMessage) {
41-
return (
42-
<div className="flex flex-col items-center justify-center gap-4 rounded-lg border border-destructive bg-destructive/10 p-12 text-center">
43-
<div>
44-
<h3 className="mb-1 font-medium text-destructive text-lg">
45-
Unable to load webhooks
46-
</h3>
47-
<p className="text-muted-foreground">{errorMessage}</p>
48-
</div>
49-
</div>
50-
);
51-
}
52-
5340
const client = getClientThirdwebClient({
5441
jwt: props.authToken,
5542
teamId: props.project.teamId,

0 commit comments

Comments
 (0)