diff --git a/src/components/ActivityFeed.tsx b/src/components/ActivityFeed.tsx index d770dfee..7a03d866 100644 --- a/src/components/ActivityFeed.tsx +++ b/src/components/ActivityFeed.tsx @@ -1,5 +1,5 @@ import { useEffect, useState } from "react"; - +import EmptyState from "./EmptyState"; interface EventType { id: string; type: string; @@ -56,9 +56,14 @@ export default function ActivityFeed({ username }: { username: string }) { {loading ? ( -

Loading...

+
+ Fetching recent activity... +
) : events.length === 0 ? ( -

No activity found

+ ) : ( events.slice(0, 10).map((event) => (
+
📭
+ +

+ {title} +

+ + {description && ( +

+ {description} +

+ )} +
+ ); +} \ No newline at end of file