Skip to content

Commit

Permalink
fix: Kubo agent text to link via ReleaseLink #2010 (#2011)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrazis authored Aug 22, 2022
1 parent 362dab8 commit 3d04988
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/version-link/VersionLink.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'

const providers = {
'go-ipfs': {
url: 'https://github.com/ipfs/go-ipfs'
kubo: {
url: 'https://github.com/ipfs/kubo'
},
'js-ipfs': {
url: 'https://github.com/ipfs/js-ipfs'
Expand All @@ -15,7 +15,7 @@ const findUrl = name => {
return provider.url
}

// formats an ipfs agentVersion string from /go-ipfs/0.10.0/desktop to go-ipfs v0.10.0 desktop
// formats an ipfs agentVersion string from /kubo/0.14.0/desktop to kubo v0.14.0 desktop
const VersionLink = ({ agentVersion }) => {
if (!agentVersion) return <span>Unknown</span>
const parts = agentVersion.split('/').filter(str => !!str)
Expand Down

0 comments on commit 3d04988

Please sign in to comment.