Skip to content

Commit

Permalink
Use simple council members page to avoid api.derive call, #3804 (#3988)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyifeng authored Mar 13, 2024
1 parent 562a43c commit e98d280
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/next/pages/council/members.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import ListLayout from "next-common/components/layout/ListLayout";
import Members from "components/council/members";
import MembersNoElections from "components/council/membersNoElections";
import isMoonChain from "next-common/utils/isMoonChain";
import { detailPageCategory } from "next-common/utils/consts/business/category";
Expand All @@ -9,7 +8,7 @@ export default function MembersPage() {
const category = "Council Members";
const seoInfo = { title: category, desc: category };

let members = <Members />;
let members = <MembersNoElections />;
if (isMoonChain()) {
members = <MembersNoElections type={detailPageCategory.COUNCIL_MOTION} />;
}
Expand Down

0 comments on commit e98d280

Please sign in to comment.