@@ -254,12 +254,11 @@ export function Dashboard() {
-
+
- {/* the api already sends 10 activities only but slicing in case of realtime updates */}
-
+
diff --git a/src/components/dashboard/RecentActivity.tsx b/src/components/dashboard/RecentActivity.tsx
index b3b52c7..89f95fc 100644
--- a/src/components/dashboard/RecentActivity.tsx
+++ b/src/components/dashboard/RecentActivity.tsx
@@ -16,27 +16,27 @@ export function RecentActivity({ activities }: RecentActivityProps) {
View All
-
+
{activities.length === 0 ? (
No recent activity
) : (
activities.map((activity, index) => (
-
-
+
+
-
-
+
+
{activity.message}
-
-
+
+
{formatDate(activity.timestamp)}
-
+
))
diff --git a/src/components/dashboard/RepositoryList.tsx b/src/components/dashboard/RepositoryList.tsx
index ecc5ee6..dab4b66 100644
--- a/src/components/dashboard/RepositoryList.tsx
+++ b/src/components/dashboard/RepositoryList.tsx
@@ -47,14 +47,13 @@ export function RepositoryList({ repositories }: RepositoryListProps) {
return (
- {/* calculating the max height based non the other elements and sizing styles */}
Repositories
-
+
{repositories.length === 0 ? (