aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/custom-metrics/routes.ts
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2020-03-02 16:00:29 +0100
committersonartech <sonartech@sonarsource.com>2020-03-06 20:04:32 +0000
commit85c94cb261a16c3126ee856325bc038afd1ef405 (patch)
tree7716fe451c0078cbfee0c0dc1b3abe1b4bf3a9de /server/sonar-web/src/main/js/apps/custom-metrics/routes.ts
parenta91ea17d6efbbd6bd8e17a98c248000d0dd70c17 (diff)
downloadsonarqube-85c94cb261a16c3126ee856325bc038afd1ef405.tar.gz
sonarqube-85c94cb261a16c3126ee856325bc038afd1ef405.zip
SONAR-13147 lazyloading
Diffstat (limited to 'server/sonar-web/src/main/js/apps/custom-metrics/routes.ts')
-rw-r--r--server/sonar-web/src/main/js/apps/custom-metrics/routes.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/custom-metrics/routes.ts b/server/sonar-web/src/main/js/apps/custom-metrics/routes.ts
index 168c5c58de6..92b03bc5607 100644
--- a/server/sonar-web/src/main/js/apps/custom-metrics/routes.ts
+++ b/server/sonar-web/src/main/js/apps/custom-metrics/routes.ts
@@ -17,11 +17,11 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import { lazyLoad } from 'sonar-ui-common/components/lazyLoad';
+import { lazyLoadComponent } from 'sonar-ui-common/components/lazyLoadComponent';
const routes = [
{
- indexRoute: { component: lazyLoad(() => import('./components/App')) }
+ indexRoute: { component: lazyLoadComponent(() => import('./components/App')) }
}
];