update: remove bounty/question imports

This commit is contained in:
MTG2000
2022-09-18 11:04:43 +03:00
parent d4417f4353
commit 1e4c152010

View File

@@ -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) {
</h2> */}
<CreateStoryPage />
</>}
{postType === 'bounty' && <>
{/* {postType === 'bounty' && <>
<h2 className="text-h2 font-bolder text-gray-800 mb-32">
Write a Bounty
</h2>
@@ -56,7 +56,7 @@ export default function CreatePostPage(props: Props) {
Write a Question
</h2>
<QuestionForm />
</>}
</>} */}
</div>
</div>
</div>