fix(trading): skip market data query if market not present (#3928)
This commit is contained in:
parent
bbd1536c18
commit
e4d4646878
@ -26,7 +26,7 @@ export const MarketMarkPrice = ({
|
||||
{
|
||||
dataProvider: marketDataProvider,
|
||||
variables: { marketId: marketId || '' },
|
||||
skip: !inView,
|
||||
skip: !inView || !marketId,
|
||||
},
|
||||
THROTTLE_UPDATE_TIME
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user