diff --git a/package.json b/package.json index 5c99a33..abc8a32 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ghost-dao-interface", "private": true, - "version": "0.3.10", + "version": "0.3.11", "type": "module", "scripts": { "dev": "vite", diff --git a/src/containers/Bridge/Bridge.jsx b/src/containers/Bridge/Bridge.jsx index fde4867..f9431a0 100644 --- a/src/containers/Bridge/Bridge.jsx +++ b/src/containers/Bridge/Bridge.jsx @@ -194,7 +194,7 @@ const Bridge = ({ chainId, address, config, connect }) => { const clapsNeeded = Math.floor(clapsInSessionLength * appluseThreshold / 100); const step = finalization > 0 ? 0 - : receivedClapsLength < clapsNeeded + : receivedClapsLength < clapsNeeded && !transactionApplaused ? 1 : !transactionApplaused ? 2 @@ -478,7 +478,7 @@ const Bridge = ({ chainId, address, config, connect }) => { - {(currentRecord?.step ?? 0) < 3 && (currentSession && currentRecord && currentSession > (currentRecord.sessionIndex ?? 0) + 2) && + {(currentRecord?.step ?? 3) < 3 && (currentSession && currentRecord && currentSession > (currentRecord.sessionIndex ?? 0) + 2) && { } /> } - {clapsInSessionLength} / {authorities?.length} + {clapsInSessionLength} / {authorities?.length ?? 0} )