Replace remote with local repo
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { useMemo } from "react";
|
||||
import { Suspense, useMemo } from "react";
|
||||
import { useSearchParams } from "next/navigation";
|
||||
import { formatRingLabel } from "@/lib/forumRings";
|
||||
import { SHOP_CHATTER_COUNT, getChatterSlice } from "@/lib/shopChatterThreads";
|
||||
@@ -19,7 +19,7 @@ function formatAgo(ts: number): string {
|
||||
return `${d}d ago`;
|
||||
}
|
||||
|
||||
export default function HubChatterArchivePage() {
|
||||
function HubChatterArchiveContent() {
|
||||
const sp = useSearchParams();
|
||||
const page = Math.max(1, parseInt(sp.get("page") ?? "1", 10) || 1);
|
||||
|
||||
@@ -140,3 +140,11 @@ export default function HubChatterArchivePage() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default function HubChatterArchivePage() {
|
||||
return (
|
||||
<Suspense fallback={<div className="min-h-screen bg-[#050403] text-[#d4c4b0]" />}>
|
||||
<HubChatterArchiveContent />
|
||||
</Suspense>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user