Skip to content

Commit

Permalink
Merge pull request #2235 from zeitgeistpm/tr-hide-grace-period-input
Browse files Browse the repository at this point in the history
Hide grace period input from market creation form
  • Loading branch information
yornaath authored Feb 8, 2024
2 parents 03e191d + d99e645 commit f899980
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/create/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export const MarketEditor = () => {
</div>

<div>
<div className="mb-6">
{/* <div className="mb-6">
<div className="mb-4 text-center">
<h2 className="flex items-center justify-center gap-2 text-base">
Set Grace Period
Expand Down Expand Up @@ -384,7 +384,7 @@ export const MarketEditor = () => {
<div className="center mt-4 flex h-5 text-xs text-red-400">
<ErrorMessage field={fieldsState.gracePeriod} />
</div>
</div>
</div> */}

<div className="mb-6 ">
<div className="mb-4 text-center">
Expand Down
4 changes: 2 additions & 2 deletions components/create/editor/Summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const MarketSummary = ({
</div>
</div>
<div className="items-center justify-center gap-6 md:flex">
<div className="mb-2 flex items-center justify-center gap-2 md:mb-0">
{/* <div className="mb-2 flex items-center justify-center gap-2 md:mb-0">
<Label>Grace</Label>{" "}
<div>
{form.gracePeriod?.type === "duration"
Expand All @@ -216,7 +216,7 @@ export const MarketSummary = ({
"MMM D, YYYY, h:mm:ss A",
)} ${form.timeZone ?? ""}`}
</div>
</div>
</div> */}
<div className="mb-2 flex items-center justify-center gap-2 md:mb-0">
<Label>Reporting</Label>{" "}
<div>
Expand Down

0 comments on commit f899980

Please sign in to comment.