Skip to content

Conversation

@alyonashunevych
Copy link

Copy link

@2pasha 2pasha left a comment

Choose a reason for hiding this comment

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

great job! 👏

here are some improvements:

  1. after changing sort params pagination should be reseted
Image Image
  1. make this logo as a link to home page also
Image

Comment on lines 31 to 35
onClick={() =>
isInFavourites
? handleProductRemove(product.itemId)
: handleProductAdd()
}
Copy link

Choose a reason for hiding this comment

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

move to separate fn

Comment on lines 91 to 94
onClick={e => {
e.stopPropagation();
setExpanded(current => !current);
}}
Copy link

Choose a reason for hiding this comment

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

move to separate fn

Comment on lines 31 to 35
onClick={() =>
handleProductRemove(
item.id,
item.product.priceDiscount * item.quantity,
)
Copy link

Choose a reason for hiding this comment

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

move to separate fn

Copy link

@FaiHamid FaiHamid left a comment

Choose a reason for hiding this comment

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

Good job!
Let`s just fix a few details:

1.Footer should be always at the bottom of page.
Image

2.'Total items' must take into account the number of all units of the product.
Image

3.The cursor should be a 'pointer' when hovering over these icons. To make it clear that you can interact with them.
Image
Image

Copy link

@etojeDenys etojeDenys left a comment

Choose a reason for hiding this comment

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

  1. these numbers should be the same
Image
  1. it would be good if the product could be removed by pressing the button again
Image Image
  1. these links should open in a new tab
Image

Copy link

@FaiHamid FaiHamid left a comment

Choose a reason for hiding this comment

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

Great work 🌟

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.

4 participants