Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Conversation

@farabi-deriv
Copy link

No description provided.

],
});

export const appendRowTop = (trade, state) => ({
Copy link
Contributor

@sara-fs sara-fs Apr 25, 2022

Choose a reason for hiding this comment

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

Since we are repeating codes in this method and the codes above, is there a better way to mix them?

Copy link
Author

Choose a reason for hiding this comment

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

We can maybe mix them with conditional rendering using ternary operators.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good job, I think we can only decide on ...state.rows, ...
Whatever you think is better

@mehrzad-fs mehrzad-fs merged commit 7c75c6e into binary-com:master May 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants