mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-14 03:54:11 +00:00
Updated providerName selector to retrieve the name even if provider is not available
This commit is contained in:
parent
a6ea834874
commit
f61208d914
@ -19,10 +19,8 @@ export const providerNameSelector = createSelector(
|
||||
providerSelector,
|
||||
(provider: Provider) => {
|
||||
const name = provider.get('name')
|
||||
const loaded = provider.get('loaded')
|
||||
const available = provider.get('available')
|
||||
|
||||
return loaded && available ? name.toLowerCase() : undefined
|
||||
return name ? name.toLowerCase() : undefined
|
||||
},
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user