fix: can't scroll to top when browsing post (#1197)
This commit is contained in:
@@ -64,7 +64,7 @@ const Card = ({
|
||||
? externalLink || ""
|
||||
: `${linkPrefix || ""}/${post.metadata?.content?.slug}${queryString}`
|
||||
}
|
||||
scroll={false}
|
||||
scroll={!linkPrefix}
|
||||
className={cn(
|
||||
"xlog-post rounded-2xl flex flex-col items-center group relative",
|
||||
isShort
|
||||
|
||||
Reference in New Issue
Block a user