Skip to content

Commit

Permalink
fix: errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Sep 28, 2024
1 parent 1f52e37 commit fe27a70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion framework/core/js/src/common/components/FormGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export default class FormGroup<CustomAttrs extends IFormGroupAttrs = IFormGroupA
if ((TextareaSettingTypes as readonly string[]).includes(type)) {
settingElement = <textarea id={inputId} aria-describedby={helpTextId} bidi={stream} {...attrs} />;
} else {
let Tag: VnodeElementTag = 'input';
let Tag: VnodeElementTag | typeof ColorPreviewInput = 'input';

if (type === ColorPreviewSettingType) {
Tag = ColorPreviewInput;
Expand Down
1 change: 0 additions & 1 deletion framework/core/js/src/common/components/ModalManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe27a70

Please sign in to comment.