Skip to content

Commit 4525812

Browse files
refactor: uncommented disabled line so both button is clickable after one of the warnings is on its 3rd occurrence
1 parent e79cb9a commit 4525812

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/UserProfile/UserProfileModal/UserProfileModal.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ const handleCcListUpdate = () => {
678678
<Button
679679
color="warning"
680680
name="both"
681-
// disabled={!specialWarnings?.some(warn => warn.warnings.length >= 2)}
681+
disabled={!specialWarnings?.some(warn => warn.warnings.length >= 2)}
682682
onClick={e => {
683683
handleToggleLogWarning('both');
684684
}}

0 commit comments

Comments
 (0)