Skip to content

Commit

Permalink
fixing date estimate for stake/unstake
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvarriti committed Aug 25, 2023
1 parent 4963ddc commit 54e7e7b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ const BridgeConfirmModal: FC<Props> = ({ open }) => {
const { triggerSubmit } = useBridge()

const estimateTime = () => {
console.log('layer', layer)
if (bridgeType === BRIDGE_TYPE.CLASSIC) {
return '7 days'
if (layer === LAYER.L1) {
return '1 ~ 5min.'
} else {
return '7 days'
}
} else {
if (layer === LAYER.L1) {
return '1 ~ 5min.'
Expand Down

0 comments on commit 54e7e7b

Please sign in to comment.