Skip to content

Commit

Permalink
name
Browse files Browse the repository at this point in the history
  • Loading branch information
clmntsnr committed Jan 17, 2025
1 parent 6d6f670 commit 0bb0bb8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Box, Button, Group, Icon, Text } from "dappkit";
export type OpportunityShortCardProps = { opportunity: Opportunity; displayLinks?: boolean };

export default function OpportunityShortCard({ opportunity, displayLinks }: OpportunityShortCardProps) {
const { url, Tags, Icons } = useOpportunityData(opportunity);
const { name, url, Tags, Icons } = useOpportunityData(opportunity);
const { formattedDailyRewards } = useOpportunityRewards(opportunity);

return (
Expand All @@ -29,7 +29,7 @@ export default function OpportunityShortCard({ opportunity, displayLinks }: Oppo
<Group className="text-xl flex-nowrap">
<Icons />
<Text look="bold" bold>
{opportunity.name}
{name}
</Text>
</Group>
{displayLinks && !!url && (
Expand Down

0 comments on commit 0bb0bb8

Please sign in to comment.