X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fhmr.ts;h=adfbca7d9a780a60a9dc00abdc80494234ee1775;hb=72c8855574a5b9ebdcd16132a5a8c50b8ba11c9b;hp=d5306a7a2879de9677e226deab878d965a006402;hpb=0491173a61aed66205c017e0d7e0503ea316c144;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/hmr.ts b/client/src/hmr.ts index d5306a7a2..adfbca7d9 100644 --- a/client/src/hmr.ts +++ b/client/src/hmr.ts @@ -9,7 +9,7 @@ export const hmrBootstrap = (module: any, bootstrap: () => Promise { ngModule = mod - const applicationRef = ngModule.injector.get(ApplicationRef); + const applicationRef = ngModule.injector.get(ApplicationRef) const componentRef = applicationRef.components[ 0 ] // allows to run `ng.profiler.timeChangeDetection();` enableDebugTools(componentRef)