feat: wire post interactions and persist favorites state
This commit is contained in:
@@ -96,7 +96,11 @@ export default async function ShopPage({ params }: PageProps) {
|
||||
{shop.owner.bio || "暂无介绍"}
|
||||
</p>
|
||||
</div>
|
||||
<FavoriteButton initialFavorited={isFavorited} />
|
||||
<FavoriteButton
|
||||
initialFavorited={isFavorited}
|
||||
targetType="shop"
|
||||
targetId={shop.id}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
|
||||
Reference in New Issue
Block a user