Skip to content

Commit

Permalink
fix (versionLink): Missing ReleaseLink with Kubo IPFS implementation #…
Browse files Browse the repository at this point in the history
  • Loading branch information
xrazis committed Aug 20, 2022
1 parent 362dab8 commit 251e55a
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 251e55a

Please sign in to comment.