fixed start page and scroll in modal window
This commit is contained in:
@@ -8,6 +8,7 @@ export default function FeedContent({
|
||||
filteredAds,
|
||||
activeNav,
|
||||
liked,
|
||||
likeCountAdj,
|
||||
onLike,
|
||||
onEdit,
|
||||
onDelete,
|
||||
@@ -58,6 +59,7 @@ export default function FeedContent({
|
||||
key={ad.id}
|
||||
ad={ad}
|
||||
liked={liked.has(ad.id)}
|
||||
likeCountAdj={likeCountAdj[ad.id] || 0}
|
||||
onLike={onLike}
|
||||
onEdit={activeNav === "myads" ? onEdit : undefined}
|
||||
onDelete={activeNav === "myads" ? onDelete : undefined}
|
||||
|
||||
Reference in New Issue
Block a user