mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
handle poolData shares when empty (#1424)
* handle poolData shares when it's empty * rm log
This commit is contained in:
parent
5f3ee32ca2
commit
29e6636d71
@ -138,6 +138,7 @@ function PoolProvider({ children }: { children: ReactNode }): ReactElement {
|
||||
if (
|
||||
!poolData ||
|
||||
!poolInfo?.totalPoolTokens ||
|
||||
!poolData.shares[0]?.shares ||
|
||||
poolData.shares[0]?.shares === '0'
|
||||
)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user