Fix project repo link [ci skip]

This commit is contained in:
Ines Montani 2020-09-23 09:43:51 +02:00
parent 930b116f00
commit 566d048753

View File

@ -16,7 +16,8 @@ export default function Project({
}) { }) {
const repoArg = repo ? ` --repo ${repo}` : '' const repoArg = repo ? ` --repo ${repo}` : ''
const text = `${COMMAND} ${id}${repoArg}` const text = `${COMMAND} ${id}${repoArg}`
const url = `${repo || projectsRepo}/${id}` const defaultRepo = `https://github.com/${projectsRepo}`
const url = `${repo || defaultRepo}/${id}`
const header = ( const header = (
<> <>
{title}:{' '} {title}:{' '}