Skip to content

Commit

Permalink
add: default usd value
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpy committed Nov 26, 2024
1 parent 8bf038e commit 3f0f9f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/app/src/components/ActiveStreamCard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { VStack, HStack, Text, Button } from 'native-base';
import { VStack, HStack, Text } from 'native-base';
import { styles } from './WalletCards/styles';
import { StopDonationActionButton } from './StopDonationActionButton';
import { DonorCollective } from '../models/models';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const WalletDonatedCard: React.FC<WalletDonatedCardProps> = ({ donorColle
amount={donationsFormatted || '0'}
/>
</View>
<Text style={styles.formattedUsd}>= {donationsUsdValue} USD</Text>
<Text style={styles.formattedUsd}>= {donationsUsdValue || 0} USD</Text>
</View>
);
};

0 comments on commit 3f0f9f6

Please sign in to comment.