Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HT7 #85

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

HT7 #85

wants to merge 3 commits into from

Conversation

veax
Copy link

@veax veax commented Dec 11, 2020

Не успел доделать конвертер и сделать анимацию

dispatch(
replace({
pathname: '/buy-error',
errorMessage: errMessage,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это состояние лучше все таки хранить в redux

@@ -18,7 +19,13 @@ const Product = ({ product, amount = 0, increment, decrement }) => {
<div>
<h4 className={styles.title}>{product.name}</h4>
<p className={styles.description}>{product.ingredients.join(', ')}</p>
<div className={styles.price}>{product.price} $</div>
<div className={styles.price}>
<PriceConverterConsumer>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не самы удобный АПИ получается у фунции конвертации, покажу как удобнее на своей домашке

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants