Details
Details
Tested entire stack end-to-end
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| web/components/protocol-icon.react.js | ||
|---|---|---|
| 50 ↗ | (On Diff #50303) | It's controversial. It's safer to wrap it with useMemo |
| web/components/select-protocol-dropdown.react.js | ||
| 29 ↗ | (On Diff #50303) | Isn't it safer to set false? |
| 39 ↗ | (On Diff #50303) | We should create a class in css file and use it here. |
| 108–119 ↗ | (On Diff #50303) | Let's use css classes for these styles |
| web/components/protocol-icon.react.js | ||
|---|---|---|
| 50 ↗ | (On Diff #50303) | In this case it doesn't matter since we are getting another prop (iconComponent) that isn't memoized |
Comment Actions
address review
| web/components/select-protocol-dropdown.react.js | ||
|---|---|---|
| 29 ↗ | (On Diff #50303) | It won't work then, because you might want to click multiple times on the dropdown to hide and show it. I think you meant setting it to false when selecting protoco, but this is handled in onOptionSelection |