diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/components/DeleteProfileForm.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-profiles/components/DeleteProfileForm.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/components/DeleteProfileForm.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/components/DeleteProfileForm.tsx index f86509975c1..db2be386ab1 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/components/DeleteProfileForm.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/components/DeleteProfileForm.tsx @@ -33,12 +33,11 @@ interface Props { interface State { loading: boolean; - name: string | null; } export default class DeleteProfileForm extends React.PureComponent<Props, State> { mounted = false; - state: State = { loading: false, name: null }; + state: State = { loading: false }; componentDidMount() { this.mounted = true; |