diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/form/InputImage.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/components/form/InputImage.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/form/InputImage.tsx b/packages/merchant-backoffice-ui/src/components/form/InputImage.tsx index 6cc9b9dcc..8e2586933 100644 --- a/packages/merchant-backoffice-ui/src/components/form/InputImage.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/InputImage.tsx @@ -20,10 +20,9 @@ */ import { ComponentChildren, h, VNode } from "preact"; import { useRef, useState } from "preact/hooks"; -import emptyImage from "../../assets/empty.png"; -import { Translate } from "../../i18n"; -import { MAX_IMAGE_SIZE as MAX_IMAGE_UPLOAD_SIZE } from "../../utils/constants"; -import { InputProps, useField } from "./useField"; +import { Translate } from "../../i18n/index.js"; +import { MAX_IMAGE_SIZE as MAX_IMAGE_UPLOAD_SIZE } from "../../utils/constants.js"; +import { InputProps, useField } from "./useField.js"; export interface Props<T> extends InputProps<T> { expand?: boolean; |