Skip to content

Commit 3781ce0

Browse files
committed
Add SSR Example
1 parent 3f25951 commit 3781ce0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/localess-angular/browser/src/localess.providers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export function provideLocalessBrowser(options: LocalessBrowserOptions): Environ
3434
throw new Error('Localess Space ID can\'t be empty');
3535
}
3636
if (enableSync) {
37-
console.log('[Localess] enableSync', enableSync)
37+
if (debug) {
38+
console.log('[Localess] enableSync', enableSync)
39+
}
3840
loadLocalessSync(origin);
3941
}
4042
return [

0 commit comments

Comments
 (0)