From 99c949127b7aa5da7046a62ffe51cd1b5e4c4fc2 Mon Sep 17 00:00:00 2001 From: robhyrk Date: Mon, 19 Aug 2024 13:51:54 -0400 Subject: [PATCH] enable market creation --- components/top-bar/index.tsx | 4 ++-- disabled-pages/create.tsx | 12 ------------ pages/create.tsx | 12 ++++++++++++ 3 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 disabled-pages/create.tsx create mode 100644 pages/create.tsx diff --git a/components/top-bar/index.tsx b/components/top-bar/index.tsx index dc8d046dd..6cf973728 100644 --- a/components/top-bar/index.tsx +++ b/components/top-bar/index.tsx @@ -167,7 +167,7 @@ const TopBar = () => { - {/* + {({ active }) => ( )} - */} + {process.env.NEXT_PUBLIC_SHOW_COURT === "true" && ( diff --git a/disabled-pages/create.tsx b/disabled-pages/create.tsx deleted file mode 100644 index 627ca05df..000000000 --- a/disabled-pages/create.tsx +++ /dev/null @@ -1,12 +0,0 @@ -// import MarketEditor from "components/create/editor/Editor"; -// import { NextPage } from "next"; - -// const CreateMarketPage: NextPage = () => { -// return ( -//
-// -//
-// ); -// }; - -// export default CreateMarketPage; diff --git a/pages/create.tsx b/pages/create.tsx new file mode 100644 index 000000000..b24d46aa6 --- /dev/null +++ b/pages/create.tsx @@ -0,0 +1,12 @@ +import MarketEditor from "components/create/editor/Editor"; +import { NextPage } from "next"; + +const CreateMarketPage: NextPage = () => { + return ( +
+ +
+ ); +}; + +export default CreateMarketPage;