Skip to content

Commit e831dfd

Browse files
author
Hein Jeong
committed
fix: import utils from codegen-ui instead of subpath
1 parent 92b3812 commit e831dfd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/codegen-ui-react/lib/utils/forms/storage-field-component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ import {
1919
LabelDecorator,
2020
StudioComponent,
2121
StudioComponentChild,
22-
} from '@aws-amplify/codegen-ui/lib/types';
23-
import { ComponentMetadata, isValidVariableName } from '@aws-amplify/codegen-ui/lib/utils';
22+
ComponentMetadata,
23+
isValidVariableName,
24+
} from '@aws-amplify/codegen-ui';
2425
import { factory, JsxAttribute, JsxAttributeLike, JsxElement, JsxExpression, SyntaxKind } from 'typescript';
2526
import { getDecoratedLabel } from '../../forms/form-renderer-helper';
2627
import { buildOnChangeStatement } from '../../forms/form-renderer-helper/event-handler-props';

0 commit comments

Comments
 (0)