terry-wallet-login #15

Merged
terry merged 95 commits from terry-wallet-login into terry-staging 2026-06-05 16:32:43 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 69bef7ee6e - Show all commits

View File

@@ -89,6 +89,7 @@ export function PopularRankRow({
categories,
browseSort = "popular",
showRank = true,
showDownload = true,
singlePostLink = false,
onFavoriteChange,
}: {
@@ -97,6 +98,7 @@ export function PopularRankRow({
categories: Category[];
browseSort?: string;
showRank?: boolean;
showDownload?: boolean;
singlePostLink?: boolean;
onFavoriteChange?: (postId: string, favorited: boolean) => void;
}) {
@@ -211,7 +213,7 @@ export function PopularRankRow({
onFavoriteChange?.(post.id, favorited)
}
/>
{r.isDownloadable ? (
{showDownload && r.isDownloadable ? (
<button
type="button"
onClick={handleDownload}

View File

@@ -200,6 +200,7 @@ export default function Favorites() {
categories={categories}
browseSort=""
showRank={false}
showDownload={false}
singlePostLink
onFavoriteChange={(_, favorited) => {
if (!favorited) setReloadKey((value) => value + 1);