Skip to content

Commit

Permalink
fix(web): price free show (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeezQ authored Jun 2, 2023
1 parent 22ad61a commit fe5fdad
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions web/src/pages/home/mods/CreateAppModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,15 +418,9 @@ const CreateAppModal = (props: {
{type === "edit" || isLoading ? null : (
<div className="flex items-center">
{t("Fee")}:
{totalPrice <= 0 ? (
<span className="ml-2 text-xl font-semibold text-red-500">
{t("Price.Free")}
</span>
) : (
<span className="ml-2 text-xl font-semibold text-red-500">
{totalPrice} / hour
</span>
)}
<span className="ml-2 text-xl font-semibold text-red-500">
{totalPrice} / hour
</span>
</div>
)}
<div className="mr-2 flex items-center">
Expand Down

0 comments on commit fe5fdad

Please sign in to comment.