diff --git a/ui/components/app/snaps/snap-ui-renderer/components/file-input.ts b/ui/components/app/snaps/snap-ui-renderer/components/file-input.ts index edeba6d89551..8ea22787cfff 100644 --- a/ui/components/app/snaps/snap-ui-renderer/components/file-input.ts +++ b/ui/components/app/snaps/snap-ui-renderer/components/file-input.ts @@ -6,14 +6,11 @@ export const fileInput: UIComponentFactory = ({ element, form, }) => ({ - element: 'SnapUIInput', + element: 'SnapUIFileInput', props: { - element: 'SnapUIFileInput', - props: { - name: element.props.name, - accept: element.props.accept, - compact: element.props.compact, - form, - }, + name: element.props.name, + accept: element.props.accept, + compact: element.props.compact, + form, }, });