From 1e4c1520109e9d9f567c161cf6da4b923addfda3 Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Sun, 18 Sep 2022 11:04:43 +0300 Subject: [PATCH] update: remove bounty/question imports --- .../Posts/pages/CreatePostPage/CreatePostPage.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/Posts/pages/CreatePostPage/CreatePostPage.tsx b/src/features/Posts/pages/CreatePostPage/CreatePostPage.tsx index 840fb70..6dc6379 100644 --- a/src/features/Posts/pages/CreatePostPage/CreatePostPage.tsx +++ b/src/features/Posts/pages/CreatePostPage/CreatePostPage.tsx @@ -2,8 +2,8 @@ import { useState } from "react"; import { Helmet } from "react-helmet"; import { FiArrowLeft } from "react-icons/fi"; import { useNavigate, useParams } from "react-router-dom"; -import BountyForm from "./Components/BountyForm/BountyForm"; -import QuestionForm from "./Components/QuestionForm/QuestionForm"; +// import BountyForm from "./Components/BountyForm/BountyForm"; +// import QuestionForm from "./Components/QuestionForm/QuestionForm"; import CreateStoryPage from "./CreateStoryPage/CreateStoryPage"; interface Props { @@ -45,7 +45,7 @@ export default function CreatePostPage(props: Props) { */} } - {postType === 'bounty' && <> + {/* {postType === 'bounty' && <>

Write a Bounty

@@ -56,7 +56,7 @@ export default function CreatePostPage(props: Props) { Write a Question - } + } */}