diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleButton.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleButton.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleButton.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleButton.tsx index b2e9c8d5eb6..5882d70b307 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleButton.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/CustomRuleButton.tsx @@ -36,7 +36,7 @@ interface State { } export default class CustomRuleButton extends React.PureComponent<Props, State> { - mounted: boolean; + mounted = false; state: State = { modal: false }; componentDidMount() { |