Skip to content

Ola Did Some Work on Pow!

Ola Vea edited this page Nov 13, 2019 · 11 revisions

added the prop variant="contained"

1_year_of_POW-variant= contained -25

git push origin angels-page-#36

success and cancel http://localhost:8000/success/ http://localhost:8000/cancel/

// console.log(window.Stripe)

I ❤️ arrays, but do arrays love me back?

1_year_of_POW-map-41 2

1_year_of_POW-TypeError-props description_is_undefined_map-42

Then I gave every <AngelCard /> instance a description prop with an array. And then it worked 😺

for example: description={[ "Lifetime access to POW! for one person.", "VIP Treatment at the launch party for you and your +1 guest.", "A 30-minute talk on privacy in apps to be delivered after March 8th anywhere in Scandinavia or as a video conference.", ]}

1_year_of_POW-map-43

You do not need skuProp on AngelCard, they are not used.

1_year_of_POW-skuProp-44

Material buttons do not except buttonTextPropProp as a prop. So I removed it as it is no good to have unused code. 😺

Its also good to never name a prop, something with "prop". 💀

1_year_of_POW-Material_buttons_do_not_except_buttonTextPropProp-45

{" "} adds a space character (👽) and is not needed. {" "}