From 635feb22ad7dc79fd89baa5f542c48e689839a5f Mon Sep 17 00:00:00 2001 From: AtsushiM Date: Wed, 15 Jan 2025 11:50:08 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20InputFile=E5=86=85=E3=81=AEloop?= =?UTF-8?q?=E3=81=AB=E8=A8=AD=E5=AE=9A=E3=81=99=E3=82=8Bkey=E3=81=AE?= =?UTF-8?q?=E5=80=A4=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/smarthr-ui/src/components/InputFile/InputFile.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/smarthr-ui/src/components/InputFile/InputFile.tsx b/packages/smarthr-ui/src/components/InputFile/InputFile.tsx index eaf6fb8263..fed78b2c04 100644 --- a/packages/smarthr-ui/src/components/InputFile/InputFile.tsx +++ b/packages/smarthr-ui/src/components/InputFile/InputFile.tsx @@ -75,7 +75,7 @@ export type Props = VariantProps & { type ElementProps = Omit, keyof Props> const DESTROY_BUTTON_TEXT = '削除' -const BASE_COLUMN_PADDING = { block: 0.5, inline: 1 } +const BASE_COLUMN_PADDING = { block: 0.5, inline: 1 } as const export const InputFile = forwardRef( ( @@ -180,7 +180,7 @@ export const InputFile = forwardRef( {!disabled && hasFileList && files.length > 0 && ( {files.map((file, index) => ( -
  • +
  • {file.name}