Skip to content

Conversation

@Keeslow
Copy link
Contributor

@Keeslow Keeslow commented Apr 28, 2021

reworked breadcrumbs and added css to them

@Keeslow Keeslow requested a review from roman-tiukh April 28, 2021 14:12
Copy link
Contributor

@roman-tiukh roman-tiukh left a comment

Choose a reason for hiding this comment

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

image

@Keeslow Keeslow requested a review from roman-tiukh May 6, 2021 17:33
Comment on lines 35 to 42
const checkIntInCrumb = () => {
breadcrumbsNodes.forEach((item) => {
if (!Number.isNaN(parseInt(item.name, 10))) {
item.name = <LoadingIcon icon="three-dots" className="w-8 h-8" />;
}
});
};
checkIntInCrumb();
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. You did an extra iteration over the array that can be avoided
  2. The icon must be added not to the data that gets into redux, but to the stage of rendering the react components
  3. Why did you create the function?

@Keeslow Keeslow requested a review from roman-tiukh May 17, 2021 21:48
Copy link
Contributor

@roman-tiukh roman-tiukh left a comment

Choose a reason for hiding this comment

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

  1. uncompleted
  2. uncompleted
  3. completed

@roman-tiukh roman-tiukh marked this pull request as draft July 28, 2021 08:51
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