Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/17.0.0' into 1118-refact…
Browse files Browse the repository at this point in the history
…-standalone-app-initializer
  • Loading branch information
alecarn committed Jan 18, 2024
2 parents 1af2e5b + 28cf70f commit 9bc9ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ import { AppComponent } from './app/app.component';
import { PortalModule } from './app/pages';
import { environment } from './environments/environment';

const DEFAULT_THEME: string = 'blue-theme';

const TOOLTIP_OPTIONS: MatTooltipDefaultOptions = {
showDelay: 500,
hideDelay: 0,
Expand Down Expand Up @@ -76,8 +78,6 @@ bootstrapApplication(AppComponent, {
}).catch((err) => console.log(err));

function provideTheme(): Provider {
const DEFAULT_THEME: string = 'blue-theme';

return {
provide: APP_INITIALIZER,
useFactory: (configService: ConfigService, document: Document) => () => {
Expand Down

0 comments on commit 9bc9ce2

Please sign in to comment.