oui icon indicating copy to clipboard operation
oui copied to clipboard

Rewrite initial icon computation without mutable variables

Open BSFishy opened this issue 1 year ago • 1 comments

https://github.com/opensearch-project/oui/pull/1137#discussion_r1416035533

This seems like it could be extracted into a function and use return rather than a mutable variable.

BSFishy avatar Dec 05 '23 17:12 BSFishy