aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/about/components/AboutApp.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-08-14 15:15:26 +0200
committerGitHub <noreply@github.com>2017-08-14 15:15:26 +0200
commit90306cb436e4fadceda6c106adc407618674f0d0 (patch)
tree4884373f2827b3fb59adb4516aa63bc4c4b1ae47 /server/sonar-web/src/main/js/apps/about/components/AboutApp.js
parentffff02cbed3e5f94bbf0c1718425d66e19ac3901 (diff)
downloadsonarqube-90306cb436e4fadceda6c106adc407618674f0d0.tar.gz
sonarqube-90306cb436e4fadceda6c106adc407618674f0d0.zip
comment flow annotations (#2335)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/about/components/AboutApp.js')
-rw-r--r--server/sonar-web/src/main/js/apps/about/components/AboutApp.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutApp.js b/server/sonar-web/src/main/js/apps/about/components/AboutApp.js
index 715543e99a4..7aec02cb77f 100644
--- a/server/sonar-web/src/main/js/apps/about/components/AboutApp.js
+++ b/server/sonar-web/src/main/js/apps/about/components/AboutApp.js
@@ -39,6 +39,7 @@ import { fetchAboutPageSettings } from '../actions';
import AboutAppForSonarQubeDotComLazyLoader from './AboutAppForSonarQubeDotComLazyLoader';
import '../styles.css';
+/*::
type State = {
loading: boolean,
projectsCount: number,
@@ -48,11 +49,12 @@ type State = {
}
}
};
+*/
class AboutApp extends React.PureComponent {
- mounted: boolean;
+ /*:: mounted: boolean; */
- props: {
+ /*:: props: {
appState: {
defaultOrganization: string,
organizationsEnabled: boolean
@@ -62,8 +64,9 @@ class AboutApp extends React.PureComponent {
fetchAboutPageSettings: () => Promise<*>,
sonarqubeDotCom?: { value: string }
};
+*/
- state: State = {
+ state /*: State */ = {
loading: true,
projectsCount: 0
};