From 635eed6e2331b0864fdd961e43737a3f6e66c36a Mon Sep 17 00:00:00 2001 From: Max Alekseenko Date: Tue, 19 Dec 2023 16:35:14 +0100 Subject: [PATCH] move submit app button --- pages/apps/index.tsx | 13 ++++++++++++- ui/pages/Marketplace.tsx | 26 +------------------------- 2 files changed, 13 insertions(+), 26 deletions(-) diff --git a/pages/apps/index.tsx b/pages/apps/index.tsx index 5b95867329..17f75586ac 100644 --- a/pages/apps/index.tsx +++ b/pages/apps/index.tsx @@ -4,15 +4,26 @@ import React from 'react'; import PageNextJs from 'nextjs/PageNextJs'; +import config from 'configs/app'; +import LinkExternal from 'ui/shared/LinkExternal'; import PageTitle from 'ui/shared/Page/PageTitle'; +const feature = config.features.marketplace; + const Marketplace = dynamic(() => import('ui/pages/Marketplace'), { ssr: false }); const Page: NextPage = () => { return ( <> - + + Submit app + + ) } + /> diff --git a/ui/pages/Marketplace.tsx b/ui/pages/Marketplace.tsx index 4314b20db0..7024498b39 100644 --- a/ui/pages/Marketplace.tsx +++ b/ui/pages/Marketplace.tsx @@ -1,8 +1,7 @@ -import { Box, Icon, Link, Skeleton } from '@chakra-ui/react'; +import { Box } from '@chakra-ui/react'; import React from 'react'; import config from 'configs/app'; -import PlusIcon from 'icons/plus.svg'; import MarketplaceAppModal from 'ui/marketplace/MarketplaceAppModal'; import MarketplaceCategoriesMenu from 'ui/marketplace/MarketplaceCategoriesMenu'; import MarketplaceDisclaimerModal from 'ui/marketplace/MarketplaceDisclaimerModal'; @@ -91,29 +90,6 @@ const Marketplace = () => { appId={ selectedApp.id } /> ) } - - - - - - Submit an app - - ); };