diff --git a/apps/dokploy/components/dashboard/settings/billing/show-billing.tsx b/apps/dokploy/components/dashboard/settings/billing/show-billing.tsx index fc8333430..2f04620f3 100644 --- a/apps/dokploy/components/dashboard/settings/billing/show-billing.tsx +++ b/apps/dokploy/components/dashboard/settings/billing/show-billing.tsx @@ -92,7 +92,9 @@ export const ShowBilling = () => { const utils = api.useUtils(); const [hobbyServerQuantity, setHobbyServerQuantity] = useState(1); - const [startupServerQuantity, setStartupServerQuantity] = useState(STARTUP_SERVERS_INCLUDED); + const [startupServerQuantity, setStartupServerQuantity] = useState( + STARTUP_SERVERS_INCLUDED, + ); const [isAnnual, setIsAnnual] = useState(false); const [upgradeTier, setUpgradeTier] = useState<"hobby" | "startup" | null>( null, @@ -699,7 +701,8 @@ export const ShowBilling = () => {
$ {( - calculatePriceHobby(hobbyServerQuantity, true) / 12 + calculatePriceHobby(hobbyServerQuantity, true) / + 12 ).toFixed(2)} /mo
@@ -826,7 +829,10 @@ export const ShowBilling = () => {$ {( - calculatePriceStartup(startupServerQuantity, true) / 12 + calculatePriceStartup( + startupServerQuantity, + true, + ) / 12 ).toFixed(2)} /mo
@@ -863,7 +869,8 @@ export const ShowBilling = () => {${" "} {( - calculatePrice(hobbyServerQuantity, isAnnual) / 12 + calculatePrice( + hobbyServerQuantity, + isAnnual, + ) / 12 ).toFixed(2)}{" "} / Month USD
@@ -1033,9 +1045,10 @@ export const ShowBilling = () => { ) : (${" "} - {calculatePrice(hobbyServerQuantity, isAnnual).toFixed( - 2, - )}{" "} + {calculatePrice( + hobbyServerQuantity, + isAnnual, + ).toFixed(2)}{" "} USD
)} @@ -1089,7 +1102,9 @@ export const ShowBilling = () => { onClick={() => { if (hobbyServerQuantity <= 1) return; - setHobbyServerQuantity(hobbyServerQuantity - 1); + setHobbyServerQuantity( + hobbyServerQuantity - 1, + ); }} >