Skip to content

Commit

Permalink
fix: trade detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
k0beLeenders committed Dec 11, 2024
1 parent 10ff1b1 commit b0b8b29
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/marginfi-v2-trading/src/pages/trade/[symbol].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<StaticArenaProps> = async (context) => {
return getArenaStaticProps(context);
};
Expand Down

0 comments on commit b0b8b29

Please sign in to comment.