mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
fixed weights cards displaying anonymous instead of creator
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user