skip query if market not defined

This commit is contained in:
Matthew Russell 2022-03-01 13:01:52 -08:00
parent d1bf044d3d
commit a7256e04b3

View File

@ -27,6 +27,7 @@ const MarketPage = () => {
MARKET_QUERY,
{
variables: { marketId: query.marketId as string },
skip: !query.marketId,
}
);