+ {/* Sort toggle */}
+
+
+
+
+
+ {/* Time filter — only for "top" */}
+ {sort === "top" && (
+
+ {TIME_OPTIONS.map((opt) => (
+
+ ))}
+
+ )}
+
+ {/* Custom date range */}
+ {sort === "top" && time === "custom" && (
+
+ setCustomStart(e.target.value)}
+ className="rounded-lg border border-brand-lines/25 bg-brand-bgLight/40 px-2 py-1 text-xs text-brand-text focus:border-brand-accent focus:outline-none"
+ />
+ –
+ setCustomEnd(e.target.value)}
+ className="rounded-lg border border-brand-lines/25 bg-brand-bgLight/40 px-2 py-1 text-xs text-brand-text focus:border-brand-accent focus:outline-none"
+ />
+
+ )}
+
{/* Posts */}
{postsLoading && (
diff --git a/frontend/src/pages/social/HubsPage.tsx b/frontend/src/pages/social/HubsPage.tsx
index 43b6b0e..2746da5 100644
--- a/frontend/src/pages/social/HubsPage.tsx
+++ b/frontend/src/pages/social/HubsPage.tsx
@@ -36,7 +36,7 @@ export default function HubsPage() {
size="sm"
variant="primary"
leftIcon={