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/web-api | |
parent | a91ea17d6efbbd6bd8e17a98c248000d0dd70c17 (diff) | |
download | sonarqube-85c94cb261a16c3126ee856325bc038afd1ef405.tar.gz sonarqube-85c94cb261a16c3126ee856325bc038afd1ef405.zip |
SONAR-13147 lazyloading
Diffstat (limited to 'server/sonar-web/src/main/js/apps/web-api')
-rw-r--r-- | server/sonar-web/src/main/js/apps/web-api/routes.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/web-api/routes.ts b/server/sonar-web/src/main/js/apps/web-api/routes.ts index fcebe06dc0f..56f159d6cc6 100644 --- a/server/sonar-web/src/main/js/apps/web-api/routes.ts +++ b/server/sonar-web/src/main/js/apps/web-api/routes.ts @@ -17,15 +17,15 @@ * 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/WebApiApp')) } + indexRoute: { component: lazyLoadComponent(() => import('./components/WebApiApp')) } }, { path: '**', - component: lazyLoad(() => import('./components/WebApiApp')) + component: lazyLoadComponent(() => import('./components/WebApiApp')) } ]; |