diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2020-03-02 16:00:29 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-03-06 20:04:32 +0000 |
commit | 85c94cb261a16c3126ee856325bc038afd1ef405 (patch) | |
tree | 7716fe451c0078cbfee0c0dc1b3abe1b4bf3a9de /server/sonar-web/src/main/js/apps/custom-metrics/routes.ts | |
parent | a91ea17d6efbbd6bd8e17a98c248000d0dd70c17 (diff) | |
download | sonarqube-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.ts | 4 |
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')) } } ]; |