fixed weights cards displaying anonymous instead of creator

This commit is contained in:
Victor committed 2024-02-11 20:13:18 -08:00
1 parent 1e0aa98860
commit 93f522d37c
2 files changed
+4 -2

No files matched your search

@@ -43,6 +43,8 @@ export default function AudioCard({
const linkUrl = getCardUrl(data, source, type);
const history = useHistory();
console.log("🟩",data);
const handleSelectModalResultSelect = () => {
if (inSelectModal) {
onResultSelect &&
@@ -178,7 +180,7 @@ export default function AudioCard({
</div>
<CardFooter
{...{
creator: data?.maybe_creator,
creator: data?.creator,
entityToken: data.weight_token,
entityType: "model_weight",
makeBookmarksProps: bookmarks?.makeProps,
@@ -181,7 +181,7 @@ export default function ImageCard({
</div>
<CardFooter
{...{
creator: data?.creator,
creator: data.creator,
entityToken: data.weight_token,
entityType: "model_weight",
makeBookmarksProps: bookmarks?.makeProps,