]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/module-import-guard.ts
Fix mark all as read notifications
[github/Chocobozzz/PeerTube.git] / client / src / app / core / module-import-guard.ts
index 445640c4fff2435a72e7090a37531d81fb63ed6c..32b1d8f193d1cfd72353a3225a98272e342c6429 100644 (file)
@@ -1,5 +1,5 @@
-export function throwIfAlreadyLoaded(parentModule: any, moduleName: string) {
+export function throwIfAlreadyLoaded (parentModule: any, moduleName: string) {
   if (parentModule) {
-    throw new Error(`${moduleName} has already been loaded. Import Core modules in the AppModule only.`);
+    throw new Error(`${moduleName} has already been loaded. Import Core modules in the AppModule only.`)
   }
 }