diff --git a/apps/marginfi-v2-trading/src/pages/trade/[symbol].tsx b/apps/marginfi-v2-trading/src/pages/trade/[symbol].tsx index 880f8ebc0..63f455e54 100644 --- a/apps/marginfi-v2-trading/src/pages/trade/[symbol].tsx +++ b/apps/marginfi-v2-trading/src/pages/trade/[symbol].tsx @@ -14,9 +14,16 @@ import { PositionList } from "~/components/common/Portfolio"; import { PoolTradeHeader } from "~/components/common/Pool/PoolTradeHeader"; import { Loader } from "~/components/common/Loader"; import { ArenaPoolV2 } from "~/store/tradeStoreV2"; -import { GetStaticProps } from "next"; +import { GetStaticPaths, GetStaticProps } from "next"; import { StaticArenaProps, getArenaStaticProps } from "~/utils"; +export const getStaticPaths: GetStaticPaths = async () => { + return { + paths: [], // no pre-rendered paths + fallback: "blocking", // generate pages on-demand + }; +}; + export const getStaticProps: GetStaticProps = async (context) => { return getArenaStaticProps(context); };