Skip to content

Commit

Permalink
patch: 1.3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
0xkynz committed Dec 2, 2023
1 parent 1929d45 commit 0a546ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/user/src/modules/campaign/campaign-detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Markdown from "react-markdown";

import { Button } from "@mlem-user/components/ui/button";
import { SpinLoader } from "@mlem-user/components/ui/spin-loader";
import { CampaignStatusEnum } from "@mlem-user/enums/campaign-status";
import { formatDate } from "@mlem-user/lib/date";
import { cn } from "@mlem-user/lib/utils";
import { ButtonConnect } from "@mlem-user/modules/@core/button-connect";
Expand Down Expand Up @@ -101,7 +102,7 @@ export const CampaignDetail = ({ campaignId }: CampaignDetailProps) => {
</div>
</div>
<div className="mt-7 mb-12">
{data?.isAllowWhitelistUser && (
{data?.status === CampaignStatusEnum.RUNNING && (
<>
<div className="max-w-md progressbar-wrapper">
<div className="relative pt-1">
Expand Down Expand Up @@ -154,7 +155,7 @@ export const CampaignDetail = ({ campaignId }: CampaignDetailProps) => {
Price
</dt>
<dd className="mt-1 h-12 text-gray-50 text-xl md:text-2xl leading-none font-semibold items-center flex">
299 CSPR
389 CSPR
</dd>
</dl>
</div>
Expand Down

0 comments on commit 0a546ab

Please sign in to comment.