-
Notifications
You must be signed in to change notification settings - Fork 20
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] post reviews, context & animations #81
base: master
Are you sure you want to change the base?
Conversation
/> | ||
</div> | ||
<p className={cn(styles.count, styles.price)}>{subtotal} $</p> | ||
<p className={cn(styles.count, styles.price)}> | ||
<CurrencyConsumer> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не самы удобный АПИ получается у фунции конвертации, покажу как удобнее на своей домашке
<Route path="/restaurants" component={RestaurantsPage} /> | ||
<Route path="/error" component={ErrorPage} /> | ||
<Route path="/order-success" component={OrderSuccessPage} /> | ||
<Redirect from="/" to="/restaurants" exact /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redirect с рута лучше ставить самым первым, так мы сразу понимаем, что происходит при первом заходе на /
</Button> | ||
</Link> | ||
<BasketRow label="total" content={convert(total, currency)} bold /> | ||
<Button primary block onClick={checkoutOrder} disabled={loading}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не нашел как мы сейчас попадаем на /checkout - ордер мы должны делать только с этой страницы
No description provided.