mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 10:11:31 +00:00
report weight usage counts on weight pages
This commit is contained in:
1 parent
2d6cf9b9f1
commit
fed0122641
1 file changed
+5
@@ -46,6 +46,7 @@ import { DeleteFeaturedItem } from "@storyteller/components/src/api/featured_ite
|
||||
import { CreateFeaturedItem } from "@storyteller/components/src/api/featured_items/CreateFeaturedItem";
|
||||
import { useCanonicalLink } from "@storyteller/components/src/hooks/UseCanonicalLink";
|
||||
import { AITools } from "components/marketing";
|
||||
import Stat from "components/common/Stat/Stat";
|
||||
|
||||
interface WeightProps {
|
||||
sessionSubscriptionsWrapper: SessionSubscriptionsWrapper;
|
||||
@@ -509,6 +510,10 @@ export default function WeightPage({
|
||||
{subtitleDivider}
|
||||
<p>{weightCategory}</p>
|
||||
{subtitleDivider}
|
||||
<Stat
|
||||
count={weight.usage_count}
|
||||
/>
|
||||
{subtitleDivider}
|
||||
<div className="d-flex align-items-center gap-2">
|
||||
<ActionButton {...ratingButtonProps} />
|
||||
<ActionButton {...bookmarkButtonProps} />
|
||||
|
||||
Reference in new issue
Block a user