diff --git a/Frontend/src/pages/UserPages/UploadFile.jsx b/Frontend/src/pages/UserPages/UploadFile.jsx new file mode 100644 index 0000000..81bfea9 --- /dev/null +++ b/Frontend/src/pages/UserPages/UploadFile.jsx @@ -0,0 +1,57 @@ +import React, { useState } from "react"; +// Adjust the import for FileUpload to the correct location: +import FileUploadModal from "../../components/FileUploadModal"; +const UploadFile = () => { + // Control modal visibility with state + const [isModalOpen, setIsModalOpen] = useState(false); + + // Dummy callback or proper function if necessary + const fetchFiles = () => { + console.log("Upload succeeded, fetch or update file list here."); + }; + + return ( + <> + {/* Button or trigger to open the modal */} + + +