@huma-finance/widgets 0.0.61-beta.547 → 0.0.61-beta.549

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huma-finance/widgets",
3
- "version": "0.0.61-beta.547+6149dac",
3
+ "version": "0.0.61-beta.549+5a10d31",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,8 +30,8 @@
30
30
  "@ethersproject/experimental": "^5.7.0",
31
31
  "@ethersproject/providers": "^5.6.0",
32
32
  "@ethersproject/units": "^5.6.0",
33
- "@huma-finance/sdk": "^0.0.61-beta.547+6149dac",
34
- "@huma-finance/shared": "^0.0.61-beta.547+6149dac",
33
+ "@huma-finance/sdk": "^0.0.61-beta.549+5a10d31",
34
+ "@huma-finance/shared": "^0.0.61-beta.549+5a10d31",
35
35
  "@huma-finance/web-shared": "^0.0.60",
36
36
  "@mui/icons-material": "^5.3.0",
37
37
  "@mui/material": "^5.0.6",
@@ -195,5 +195,5 @@
195
195
  "optionalDependencies": {
196
196
  "encoding": "^0.1.13"
197
197
  },
198
- "gitHead": "6149dac817ff6d309715e19d071943bbdb06ad56"
198
+ "gitHead": "5a10d31c5b33d4fe12abcfdc57ce505b5b3a2918"
199
199
  }
@@ -45,11 +45,6 @@ export function ChooseAmount({
45
45
  ethers.utils.formatUnits(payoffAmountBN, decimals),
46
46
  )
47
47
 
48
- console.log('totalDueAmountBN', totalDueAmountBN.toString())
49
- console.log('payoffAmountBN', payoffAmountBN.toString())
50
- console.log('payoffAmount', payoffAmount)
51
- console.log('currentAmount', currentAmount)
52
-
53
48
  useEffect(() => {
54
49
  setCurrentAmount(totalDueAmount)
55
50
  }, [totalDueAmount])
@@ -35,7 +35,7 @@ const LoadingCopiesByType: {
35
35
  description: `Checking your verification status...`,
36
36
  },
37
37
  startKYC: {
38
- description: `Starting KYC...`,
38
+ description: `Starting KYC/KYB...`,
39
39
  },
40
40
  approveLender: {
41
41
  description: `Approving as lender...`,
@@ -1,7 +1,8 @@
1
- import { Box, Button } from '@mui/material'
1
+ import { Box } from '@mui/material'
2
2
  import { useWeb3React } from '@web3-react/core'
3
3
  import { getExplorerUrl, openInNewTab } from '@huma-finance/shared'
4
4
  import React from 'react'
5
+ import { BottomButton } from './BottomButton'
5
6
 
6
7
  type Props = {
7
8
  txHash: string
@@ -16,8 +17,8 @@ export function ViewOnExplorer({ txHash }: Props): React.ReactElement | null {
16
17
  }
17
18
 
18
19
  return (
19
- <Button variant='outlined' onClick={() => openInNewTab(link)}>
20
+ <BottomButton variant='contained' onClick={() => openInNewTab(link)}>
20
21
  <Box component='span'>VIEW ON EXPLORER</Box>
21
- </Button>
22
+ </BottomButton>
22
23
  )
23
24
  }