aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projects/components/FavoriteProjectsContainer.tsx
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-08-30 18:26:07 +0200
committerStas Vilchik <stas.vilchik@sonarsource.com>2017-09-13 13:53:58 +0200
commit1ca69cefbef27f8f772650de4af6e6018ef85351 (patch)
tree1571f956340061c3dc0a326f8e023bb0ea111fc3 /server/sonar-web/src/main/js/apps/projects/components/FavoriteProjectsContainer.tsx
parent361d9c3e6c2f2dbf10b1412789bed2095f25edcc (diff)
downloadsonarqube-1ca69cefbef27f8f772650de4af6e6018ef85351.tar.gz
sonarqube-1ca69cefbef27f8f772650de4af6e6018ef85351.zip
avoid using redux in projects app
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/components/FavoriteProjectsContainer.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/projects/components/FavoriteProjectsContainer.tsx25
1 files changed, 25 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/components/FavoriteProjectsContainer.tsx b/server/sonar-web/src/main/js/apps/projects/components/FavoriteProjectsContainer.tsx
new file mode 100644
index 00000000000..1bfa07b70f2
--- /dev/null
+++ b/server/sonar-web/src/main/js/apps/projects/components/FavoriteProjectsContainer.tsx
@@ -0,0 +1,25 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2017 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+import * as React from 'react';
+import AllProjects from './AllProjects';
+
+export default function FavoriteProjectsContainer(props: any) {
+ return <AllProjects isFavorite={true} {...props} />;
+}