skip query if market not defined
This commit is contained in:
parent
d1bf044d3d
commit
a7256e04b3
@ -27,6 +27,7 @@ const MarketPage = () => {
|
||||
MARKET_QUERY,
|
||||
{
|
||||
variables: { marketId: query.marketId as string },
|
||||
skip: !query.marketId,
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user