diff options
author | David Cho-Lerat <117642976+david-cho-lerat-sonarsource@users.noreply.github.com> | 2023-03-13 17:51:08 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-03-13 20:02:45 +0000 |
commit | d4f7645c595a031cdad7d6dccf3ca9b0465590db (patch) | |
tree | 0457e07a23a02a96d01febea311501404e2d9c13 /server/sonar-web/src/main/js/components | |
parent | b5a22322f8104d88626e454b0cf2484e206b351b (diff) | |
download | sonarqube-d4f7645c595a031cdad7d6dccf3ca9b0465590db.tar.gz sonarqube-d4f7645c595a031cdad7d6dccf3ca9b0465590db.zip |
Activate useful @typescript-eslint rules & fix warnings in `design-system/` and related components (#7759)
Diffstat (limited to 'server/sonar-web/src/main/js/components')
-rw-r--r-- | server/sonar-web/src/main/js/components/embed-docs-modal/__tests__/EmbedDocsPopup-test.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/embed-docs-modal/__tests__/EmbedDocsPopup-test.tsx b/server/sonar-web/src/main/js/components/embed-docs-modal/__tests__/EmbedDocsPopup-test.tsx index 6f383868948..234a5b9d70b 100644 --- a/server/sonar-web/src/main/js/components/embed-docs-modal/__tests__/EmbedDocsPopup-test.tsx +++ b/server/sonar-web/src/main/js/components/embed-docs-modal/__tests__/EmbedDocsPopup-test.tsx @@ -72,7 +72,12 @@ function renderEmbedDocsPopup() { <button onClick={addSuggestion} type="button"> add.suggestion </button> - <button onClick={() => setSuggestions([])} type="button"> + <button + onClick={() => { + setSuggestions([]); + }} + type="button" + > remove.suggestion </button> <EmbedDocsPopupHelper /> |