analyzer bug fix when stopping comparision

This commit is contained in:
Sendou
2020-06-08 20:48:32 +03:00
parent cbeb0dce34
commit 8fb8b1ee03

View File

@@ -160,7 +160,12 @@ const EditableBuilds: React.FC<EditableBuildsProps> = ({
<>
<Button
icon={showOther ? FaMinus : FaPlus}
onClick={() => setShowOther(!showOther)}
onClick={() => {
if (showOther && otherFocused) {
changeFocus()
}
setShowOther(!showOther)
}}
mt="1em"
mb="2em"
>