diff --git a/frontend/src/Editor/Components/FilePicker.jsx b/frontend/src/Editor/Components/FilePicker.jsx index b4a5f26322..b7eb54c3c4 100644 --- a/frontend/src/Editor/Components/FilePicker.jsx +++ b/frontend/src/Editor/Components/FilePicker.jsx @@ -219,12 +219,7 @@ export const FilePicker = ({ return (
{showSelectdFiles ? ( - + {selectedFiles.map((acceptedFile, index) => ( <>
@@ -280,24 +275,12 @@ FilePicker.Signifiers = ({ signifier, feedback, cls }) => { return null; }; -FilePicker.AcceptedFiles = ({ children, width, height, showFilezone, bgThemeColor }) => { - const styles = { - borderWidth: 1.5, - borderRadius: 2, - borderColor: '#42536A', - borderStyle: 'dashed', - color: '#bdbdbd', - outline: 'none', - padding: '5px', - overflowX: 'hidden', - overflowY: 'auto', - scrollbarWidth: 'none', - width, - height, - backgroundColor: bgThemeColor, - }; +FilePicker.AcceptedFiles = ({ children, showFilezone, style }) => { return ( -