mirror of https://github.com/linkerd/linkerd2.git
* Refactoring to suppress eslint warnings Upon enabling react/no-did-update-set-state flag in .eslintrc , a couple of warnings are raised because it is a bad practice to use the setState() function within the componentDidUpdate() hook. The code has been refactored to follow the eslint spec. During the code review, it was pointed out that the react/no-did-update-set-state is enabled by default and can be removed from .eslintrc The flag was removed from .eslintrc Fixes #3928 Signed-off-by: Christy Jacob <christyjacob4@gmail.com> |
||
---|---|---|
.. | ||
app | ||
srv | ||
templates | ||
Dockerfile | ||
main.go |