@@ -34,7 +34,7 @@ export default function ChkgdExcel({ type }: { type: string }) {
|
||||
useEffect(() => {
|
||||
if (files) {
|
||||
const file = files[0];
|
||||
if(file) console.log(filePicked(file,1));
|
||||
if(file) filePicked(file,1).then((res) => console.log(res));
|
||||
}else{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user