diff --git a/client/src/components/atoms/VersionNumbers/VersionTable.tsx b/client/src/components/atoms/VersionNumbers/VersionTable.tsx index c8d8b5d..4533fa0 100644 --- a/client/src/components/atoms/VersionNumbers/VersionTable.tsx +++ b/client/src/components/atoms/VersionNumbers/VersionTable.tsx @@ -50,7 +50,7 @@ const VersionTable = ({ data }: { data: VersionTableProps }) => ( - {value.version} + v{value.version} {key === 'keeperContracts' && ( diff --git a/client/src/components/atoms/VersionNumbers/index.tsx b/client/src/components/atoms/VersionNumbers/index.tsx index 4d71f39..f706942 100644 --- a/client/src/components/atoms/VersionNumbers/index.tsx +++ b/client/src/components/atoms/VersionNumbers/index.tsx @@ -20,7 +20,7 @@ import { import VersionTable from './VersionTable' const commonsVersion = - process.env.NODE_ENV === 'production' ? `v${version}` : `v${version}-dev` + process.env.NODE_ENV === 'production' ? version : `${version}-dev` interface VersionNumbersProps { minimal?: boolean @@ -66,7 +66,7 @@ export default class VersionNumbers extends PureComponent< commons: { software: 'Commons', version: commonsVersion }, squidJs: { software: 'Squid-js', - version: `v${versionSquid}` + version: versionSquid }, aquarius: { software: 'Aquarius', version: '0.0.0' }, brizo: { @@ -112,7 +112,7 @@ export default class VersionNumbers extends PureComponent< brizo, keeperContracts: { ...this.state.keeperContracts, - version: brizo['keeper-version'], + version: brizo['keeper-version'].replace('v', ''), contracts: brizo.contracts } }) @@ -141,7 +141,7 @@ export default class VersionNumbers extends PureComponent< const { minimal } = this.props const { commons, squidJs, brizo, aquarius, faucet } = this.state - const mimimalOutput = `${squidJs.software} ${squidJs.version} \n${ + const mimimalOutput = `${squidJs.software} v${squidJs.version} \n${ brizo.software } v${brizo.version} \n${aquarius.software} v${ aquarius.version @@ -152,7 +152,7 @@ export default class VersionNumbers extends PureComponent< return minimal ? (

- {commons.version} ({brizo.network}) + v{commons.version} ({brizo.network})

) : (