From 6ccd337de0d4fb6eedc737b7ecf3277f5bb5537a Mon Sep 17 00:00:00 2001 From: Taliayaya Date: Sun, 1 May 2022 21:51:27 +0200 Subject: [PATCH] repaired file input --- src/components/MessageInput/index.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/MessageInput/index.jsx b/src/components/MessageInput/index.jsx index f348494..0d83c0f 100644 --- a/src/components/MessageInput/index.jsx +++ b/src/components/MessageInput/index.jsx @@ -13,7 +13,7 @@ import { styled } from '@mui/material' import { StyleFileUploadContainer, StyleMobileSendingContainer, -} from './StyleMessageInput' +} from './/StyleMessageInput' // For the files tray import { Stack, Badge, Button } from '@mui/material' import CloseIcon from '@mui/icons-material/Close' @@ -99,6 +99,7 @@ const FilesTray = ({ selectedFiles, setSelectedFiles }) => { * selectedFiles: the state of the files, a list containing the files * setSelectedFiles: the state selector of the list of files * */ + console.log(selectedFiles) return ( {selectedFiles.map((file) => ( @@ -121,7 +122,7 @@ const FilesTray = ({ selectedFiles, setSelectedFiles }) => { } > - + ))}