Closed swarnim-dev closed 1 year ago
in DisplayCampaigns component
<FundCard key={campaign.id} ... />
change this to <FundCard key={campaign.pId}
as we are assigning id as pId in context, seems like typo
in DisplayCampaigns component
<FundCard key={campaign.id} ... /> change this to <FundCard key={campaign.pId}
as we are assigning id as pId in context, seems like typo
Thanks bro, i don't know how i missed such a silly mistake
So the issue that my console is giving me is "Each child in a list should have a unique key prop"
FundCard:
DisplayCampaigns: