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",
dataIndex: "url",
key: "url",
render: (url) => `<a href="${url}">${url}</a>`
render: (url) => <a href={url}>{url}</a>
},
];

View File

@ -11,7 +11,7 @@ export default function Logs() {
created_at: null,
body: "",
assets: [],
});
const getRelease = async () => {
@ -58,7 +58,7 @@ function AssetTable(assets) {
dataIndex: "name",
key: "name",
render: (text, entry) =>
`<a href="${entry.browser_download_url}">${text}</a>`,
<a href={entry.browser_download_url}>{text}</a>,
},
{
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) {