Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/pages/Send/SendForm/WarningInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ export const WarningInfo = (): ReactElement => {
const bridgesList = availableBridges[chain]

function infoText(): string | undefined {
if (bridgeUsed === BridgeType.ibc) {
return 'IBC transfers are currently suspended.'
} else if (bridgeUsed === BridgeType.shuttle) {
if (bridgeUsed === BridgeType.shuttle) {
return Date.now() >= 1675123200000
? 'Shuttle transfers from Terra Classic have been disabled.'
: `If you own LUNC, UST, or other assets bridged with shuttle on ETH, BSC or Harmony you must send them back to Terra Classic before ${new Date(
Expand Down
4 changes: 1 addition & 3 deletions src/pages/Send/SendFormButton/NextOrApproveButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,13 @@ const NextOrApproveButton = ({
onClick={onClickSendNextButton}
disabled={
!ableButton ||
bridgeUsed === BridgeType.ibc ||
bridgeUsed === BridgeType.wormhole ||
(bridgeUsed === BridgeType.shuttle &&
(Date.now() >= 1675123200000 ||
fromBlockChain === BlockChainType.terra))
}
>
{bridgeUsed === BridgeType.ibc ||
bridgeUsed === BridgeType.wormhole ||
{bridgeUsed === BridgeType.wormhole ||
(bridgeUsed === BridgeType.shuttle &&
(Date.now() >= 1675123200000 ||
fromBlockChain === BlockChainType.terra))
Expand Down