Minor changes

This commit is contained in:
Atharva Ombase
2025-04-19 01:28:06 +05:30
parent 920c793fa6
commit d59e8c789c
2 changed files with 3 additions and 9 deletions
+1 -4
View File
@@ -1,11 +1,8 @@
import React, { useState } from "react";
// Adjust the import for FileUpload to the correct location:
import { useState } from "react";
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.");
};