Update user_created field to use username instead
of first_name
This commit is contained in:
parent
c91d89380a
commit
c7ceb43979
3 changed files with 4 additions and 5 deletions
|
|
@ -172,7 +172,7 @@ export const MarketCardComponent = ({
|
|||
</CardTitle>
|
||||
</div>
|
||||
<span className="text-xs text-primary">
|
||||
by <b>{data.user_created.first_name}</b>
|
||||
by <b>{data.user_created.username}</b>
|
||||
</span>
|
||||
<CardDescription className="pb-2 pt-2">
|
||||
<div className="truncate-doubleline">{data.description}</div>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ export type storeComponent = {
|
|||
description: string;
|
||||
liked_by_count: number;
|
||||
liked_by_user?: boolean;
|
||||
user_created: { first_name: string };
|
||||
user_created: { username: string };
|
||||
};
|
||||
|
||||
export type StoreComponentResponse = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue