fix: update ID display to show author's ID instead of content ID
This commit is contained in:
parent
dfd1a46694
commit
9a2d64eee4
@ -60,7 +60,9 @@ export const ContentsPage = () => {
|
||||
2: (_value: unknown, _type: unknown, data: TNewsResponse) => (
|
||||
<div>
|
||||
<div>{data.author.name}</div>
|
||||
<div className="text-sm text-[#7C7C7C]">ID: {data.id.slice(0, 8)}</div>
|
||||
<div className="text-sm text-[#7C7C7C]">
|
||||
ID: {data.author.id.slice(0, 8)}
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
3: (value: string) => <span className="text-sm">{value}</span>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user