Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewMusgrave committed Oct 23, 2019
1 parent 07bed72 commit 6f71ee5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function FilterValueSelector({
[onChange, onFilterKeyChange, value],
);

if (showOperatorOptions && operatorText!.length !== 0 && !isMounted) {
if (showOperatorOptions && operatorText!.length !== 0 && !isMounted.current) {
handleOperatorOptionChange((operatorText as Operator[])[0].key);
}

Expand Down

0 comments on commit 6f71ee5

Please sign in to comment.