mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-11 18:44:07 +00:00
Fix: [SafeApps] add app input
This commit is contained in:
parent
a566ace499
commit
c1c5488d53
@ -160,7 +160,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@gnosis.pm/safe-contracts": "1.1.1-dev.2",
|
||||
"@gnosis.pm/safe-react-components": "^0.2.0",
|
||||
"@gnosis.pm/safe-react-components": "https://github.com/gnosis/safe-react-components.git#7bb55de",
|
||||
"@gnosis.pm/util-contracts": "2.0.6",
|
||||
"@ledgerhq/hw-transport-node-hid": "5.19.0",
|
||||
"@material-ui/core": "4.11.0",
|
||||
|
@ -40,10 +40,10 @@ export const getAppInfoFromOrigin = (origin) => {
|
||||
}
|
||||
}
|
||||
|
||||
export const getAppInfoFromUrl = async (appUrl: string): Promise<SafeApp> => {
|
||||
export const getAppInfoFromUrl = async (appUrl?: string): Promise<SafeApp> => {
|
||||
let res = { id: undefined, url: appUrl, name: 'unknown', iconUrl: appsIconSvg, error: true }
|
||||
|
||||
if (!appUrl.length) {
|
||||
if (!appUrl?.length) {
|
||||
return res
|
||||
}
|
||||
|
||||
|
@ -1340,10 +1340,9 @@
|
||||
solc "0.5.14"
|
||||
truffle "^5.1.21"
|
||||
|
||||
"@gnosis.pm/safe-react-components@^0.2.0":
|
||||
"@gnosis.pm/safe-react-components@https://github.com/gnosis/safe-react-components.git#7bb55de":
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/@gnosis.pm/safe-react-components/-/safe-react-components-0.2.0.tgz#a35947fd5f016b7aabe5ac6105b6b873e00de730"
|
||||
integrity sha512-8tAJZPywtxqPZw48z92iRVNWfn173mUeHf+mkWVlw9nqy+eurXEKPM5Jy1fnEcLsWQfiafGzunB3OzsHvXq+BQ==
|
||||
resolved "https://github.com/gnosis/safe-react-components.git#7bb55de2d8a2b6f192466043dc643387fb42dbf6"
|
||||
dependencies:
|
||||
classnames "^2.2.6"
|
||||
polished "3.6.5"
|
||||
|
Loading…
x
Reference in New Issue
Block a user