From da26cf110a4320b602c2682b686d100249e6e551 Mon Sep 17 00:00:00 2001 From: Alexander Petkov Date: Mon, 13 Nov 2023 14:35:46 +0200 Subject: [PATCH] CampaignDetails.tsx: Remove unnnecessary Box component --- src/components/client/campaigns/CampaignDetails.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/client/campaigns/CampaignDetails.tsx b/src/components/client/campaigns/CampaignDetails.tsx index 9b4adfb9c..589038489 100644 --- a/src/components/client/campaigns/CampaignDetails.tsx +++ b/src/components/client/campaigns/CampaignDetails.tsx @@ -7,7 +7,7 @@ import { CampaignResponse } from 'gql/campaigns' import 'react-quill/dist/quill.bubble.css' -import { Box, Divider, Grid, IconButton, Tooltip, Typography } from '@mui/material' +import { Divider, Grid, IconButton, Tooltip, Typography } from '@mui/material' import SecurityIcon from '@mui/icons-material/Security' import { styled } from '@mui/material/styles' @@ -210,16 +210,14 @@ const CampaignFinanceSummary = ({ campaign, expenses }: CampaignFinanceProps) => Събрана сума: {moneyPublic(total)} - - - Налични: {moneyPublic(campaign.summary.currentAmount)} - + + Налични: {moneyPublic(campaign.summary.currentAmount)} - + Гарантирани: {moneyPublic(campaign.summary.guaranteedAmount)}