Skip to content

Commit

Permalink
Merge pull request #4829 from Giveth/main
Browse files Browse the repository at this point in the history
Main to dev
  • Loading branch information
RamRamez authored Oct 7, 2024
2 parents 150a319 + 3e164ec commit d1efc50
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "givethdapp",
"version": "2.33.1",
"version": "2.33.2",
"private": true,
"scripts": {
"build": "next build",
Expand Down
8 changes: 8 additions & 0 deletions src/components/views/donate/DonationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {
Flex,
SublineBold,
brandColors,
IconSpark,
semanticColors,
} from '@giveth/ui-design-system';
import React, { FC, useState, useEffect } from 'react';
import styled, { css } from 'styled-components';
Expand Down Expand Up @@ -192,6 +194,10 @@ export const DonationCard: FC<IDonationCardProps> = ({
{formatMessage({
id: 'label.recurring_donation',
})}
<IconSpark
size={28}
color={semanticColors.golden[500]}
/>
</Tab>
) : (
!disableRecurringDonations && (
Expand Down Expand Up @@ -284,6 +290,8 @@ interface ITab {

const Tab = styled(BaseTab)<ITab>`
font-weight: 500 !important;
display: flex;
align-items: center;
cursor: pointer;
${props =>
props.$selected &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ const ProjectTotalFundCard = ({ selectedQF }: IProjectTotalFundCardProps) => {
const selectedQFData = qfRounds?.find(round => round.id === selectedQF?.id);

const notDistributedFund =
!qfRoundHistory?.matchingFund && !selectedQF?.isActive;
!qfRoundHistory?.matchingFund &&
qfRoundHistory?.matchingFund !== 0 &&
!selectedQF?.isActive;

useEffect(() => {
if (!id) return;
Expand Down

0 comments on commit d1efc50

Please sign in to comment.