Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/pages/Invites.tsx

Steven Enamakelb69d9ad8dbc3
diff --git a/app/src/pages/Invites.tsx b/app/src/pages/Invites.tsx
index ebe0109bfd..2b5c7e564f 100644
--- a/app/src/pages/Invites.tsx
+++ b/app/src/pages/Invites.tsx
@@ -200,11 +200,7 @@ const Invites = () => {
{loadError && <p className="text-coral-500 text-xs text-center py-2">{loadError}</p>}
{isLoading ? (
- <div className="space-y-3">
- {Array.from({ length: 5 }).map((_, i) => (
- <div key={i} className="h-12 bg-surface/5 rounded-xl animate-pulse" />
- ))}
- </div>
+ <CenteredLoadingState label={t('common.loading')} />
) : codes.length > 0 ? (
<div className="space-y-2">
{codes.map(invite => (
@@ -212,9 +208,7 @@ const Invites = () => {
))}
</div>
) : (
- <p className="text-sm text-content-muted text-center py-6">
- {t('invites.noInvites')}
- </p>
+ <EmptyState label={t('invites.noInvites')} className="text-center" />
)}
</div>
</div>