Fix links
This commit is contained in:
@@ -24,7 +24,7 @@ function SocialHandles({ config }) {
|
|||||||
title: "URL",
|
title: "URL",
|
||||||
dataIndex: "url",
|
dataIndex: "url",
|
||||||
key: "url",
|
key: "url",
|
||||||
render: (url) => `<a href="${url}">${url}</a>`
|
render: (url) => <a href={url}>{url}</a>
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ function AssetTable(assets) {
|
|||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
key: "name",
|
key: "name",
|
||||||
render: (text, entry) =>
|
render: (text, entry) =>
|
||||||
`<a href="${entry.browser_download_url}">${text}</a>`,
|
<a href={entry.browser_download_url}>{text}</a>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Size",
|
title: "Size",
|
||||||
@@ -69,7 +69,7 @@ function AssetTable(assets) {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
return <Table dataSource={data} columns={columns} rowKey="id" />;
|
return <Table dataSource={data} columns={columns} rowKey="id" size="large" />;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fetchData(url) {
|
async function fetchData(url) {
|
||||||
|
|||||||
Reference in New Issue
Block a user