You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first sprint!!!
For this sprint, we are adding new information for a project called Economic Benefits.
Update the Project type in /types/schema.d.ts to include a new attribute called economic_benefits that will be of type string or null.
We are using styled components so create a new styled div called EconomicBenefits in styles.ts then use this in index.tsx.
We want it to display only if economic_benefits is not an empty string/is not null. To see how to do this you can refer to the lines of code below.
If you want to test the styling, for now you can just include random text and ignore the 3rd step, but once the styling looks good, make sure it doesn't appear when economic_benefits is null.
You can probably reuse the DetailsContainer from styles.ts like how it is being used below.
The text was updated successfully, but these errors were encountered:
first sprint!!!
For this sprint, we are adding new information for a project called Economic Benefits.
/types/schema.d.ts
to include a new attribute calledeconomic_benefits
that will be of type string or null.EconomicBenefits
instyles.ts
then use this inindex.tsx
.economic_benefits
is not an empty string/is not null. To see how to do this you can refer to the lines of code below.economic_benefits
is null.DetailsContainer
fromstyles.ts
like how it is being used below.The text was updated successfully, but these errors were encountered: