2.4.0 (#1079)
* Fix: Sapp confirmTXs modal width. * explicitly type classNames * typo * Bump onboardjs version (#1049) Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com> * add Aave app (#1075) * bump package.json version (#1077) * mock commit * yarn.lock regenration Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com> Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com> Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Fernando <fernando.greco@gmail.com>
This commit is contained in:
parent
941bed1423
commit
d57ad72588
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "safe-react",
|
||||
"version": "2.3.1",
|
||||
"version": "2.4.0",
|
||||
"description": "Allowing crypto users manage funds in a safer way",
|
||||
"website": "https://github.com/gnosis/safe-react#readme",
|
||||
"bugs": {
|
||||
|
@ -159,7 +159,7 @@
|
|||
"async-sema": "^3.1.0",
|
||||
"axios": "0.19.2",
|
||||
"bignumber.js": "9.0.0",
|
||||
"bnc-onboard": "1.9.4",
|
||||
"bnc-onboard": "1.10.0",
|
||||
"classnames": "^2.2.6",
|
||||
"concurrently": "^5.2.0",
|
||||
"connected-react-router": "6.8.0",
|
||||
|
|
|
@ -9,8 +9,13 @@ const Box = styled.p`
|
|||
border: solid 2px ${border};
|
||||
`
|
||||
|
||||
const TextBox = ({ children }: any) => {
|
||||
return <Box>{children}</Box>
|
||||
type Props = {
|
||||
children: React.ReactNode
|
||||
className?: string
|
||||
}
|
||||
|
||||
const TextBox = ({ children, ...rest }: Props): React.ReactElement => {
|
||||
return <Box {...rest}>{children}</Box>
|
||||
}
|
||||
|
||||
export default TextBox
|
||||
|
|
|
@ -54,6 +54,10 @@ const IconText = styled.div`
|
|||
margin-right: 4px;
|
||||
}
|
||||
`
|
||||
const StyledTextBox = styled(TextBox)`
|
||||
max-width: 444px;
|
||||
`
|
||||
|
||||
const isTxValid = (t: SafeAppTx): boolean => {
|
||||
if (!['string', 'number'].includes(typeof t.value)) {
|
||||
return false
|
||||
|
@ -111,7 +115,7 @@ const confirmTransactions = (
|
|||
</div>
|
||||
<div className="section">
|
||||
<Heading tag="h3">Data (hex encoded)*</Heading>
|
||||
<TextBox>{tx.data}</TextBox>
|
||||
<StyledTextBox>{tx.data}</StyledTextBox>
|
||||
</div>
|
||||
</CollapseContent>
|
||||
</Collapse>
|
||||
|
|
|
@ -18,12 +18,9 @@ export const staticAppsList: Array<{ url: string; disabled: boolean }> = [
|
|||
// request
|
||||
{ url: `${process.env.REACT_APP_IPFS_GATEWAY}/QmQapdJP6zERqpDKKPECNeMDDgwmGUqbKk1PjHpYj8gfDJ`, disabled: false },
|
||||
// Aave
|
||||
// { url: `${process.env.REACT_APP_IPFS_GATEWAY}/QmUfgEqdJ5kVjWTQofnDmvxdhDLBAaejiHkhQhfw6aYvBg`, disabled: false },
|
||||
{ url: `${process.env.REACT_APP_IPFS_GATEWAY}/QmfHFQHCSyaSL8Aq4eWZeB3buy4neiUCPchob2pYdV9gJT`, disabled: false },
|
||||
{ url: `${gnosisAppsUrl}/compound`, disabled: false },
|
||||
{ url: `${gnosisAppsUrl}/tx-builder`, disabled: false },
|
||||
{ url: `${gnosisAppsUrl}/pool-together`, disabled: false },
|
||||
{ url: `${gnosisAppsUrl}/open-zeppelin`, disabled: false },
|
||||
{ url: `${gnosisAppsUrl}/synthetix`, disabled: false },
|
||||
]
|
||||
|
||||
export const getAppInfoFromOrigin = (origin) => {
|
||||
|
|
Loading…
Reference in New Issue