Skip to content

Commit 7b08b1f

Browse files
authored
Update index.tsx
1 parent c41fa63 commit 7b08b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/app/src/components/ChatBox/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ const ChatBox = (
407407
dataId: getNanoid(24),
408408
obj: ChatRoleEnum.Human,
409409
value: [
410-
...files.map((file) => ({
410+
...files.map((file: ChatFile) => ({
411411
type: ChatItemValueTypeEnum.file,
412412
file: {
413413
type: file.type,

0 commit comments

Comments
 (0)