Skip to content

Commit

Permalink
chore: remove factory
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Givanyan committed Feb 7, 2024
1 parent 825dd07 commit 88072e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
4 changes: 2 additions & 2 deletions src/components/super/i-static-page/i-static-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { setLocale, locale } from 'core/i18n';

import type { AppliedRoute, InitialRoute } from 'core/router';
import * as cookie from 'core/kv-storage/engines/cookie';
import { webEngineFactory } from 'components/super/i-static-page/modules/theme/system-theme-extractor/engines/web';
import WebEngine from 'components/super/i-static-page/modules/theme/system-theme-extractor/engines/web/engine';

import {

Expand Down Expand Up @@ -102,7 +102,7 @@ export default abstract class iStaticPage extends iPage {
o,
{
themeStorageEngine: cookie.syncLocalStorage,
systemThemeExtractor: webEngineFactory(o)
systemThemeExtractor: new WebEngine(o)
}
))

Expand Down

This file was deleted.

0 comments on commit 88072e2

Please sign in to comment.