diff --git a/framework/core/js/src/common/components/FormGroup.tsx b/framework/core/js/src/common/components/FormGroup.tsx index bad9cbb474..5fca1b34ec 100644 --- a/framework/core/js/src/common/components/FormGroup.tsx +++ b/framework/core/js/src/common/components/FormGroup.tsx @@ -246,7 +246,7 @@ export default class FormGroup; } else { - let Tag: VnodeElementTag = 'input'; + let Tag: VnodeElementTag | typeof ColorPreviewInput = 'input'; if (type === ColorPreviewSettingType) { Tag = ColorPreviewInput; diff --git a/framework/core/js/src/common/components/ModalManager.tsx b/framework/core/js/src/common/components/ModalManager.tsx index a0edbd510a..b11677f268 100644 --- a/framework/core/js/src/common/components/ModalManager.tsx +++ b/framework/core/js/src/common/components/ModalManager.tsx @@ -7,7 +7,6 @@ import { disableBodyScroll, clearAllBodyScrollLocks } from 'body-scroll-lock'; import type ModalManagerState from '../states/ModalManagerState'; import type Mithril from 'mithril'; import LoadingIndicator from './LoadingIndicator'; -import * as process from 'node:process'; interface IModalManagerAttrs { state: ModalManagerState;