Fix links

This commit is contained in:
Gabe Kangas
2020-11-02 21:38:56 -08:00
parent 112cc3af14
commit 0f06741309
2 changed files with 4 additions and 4 deletions

View File

@@ -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>
}, },
]; ];

View File

@@ -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) {