Error: missing input file(s) web3 storage

I’'m getting this error when trying to upload image to ipfs using web3.strge js SDK
here is my code :point_down:
client :point_down:
const web3Client = new Web3Storage({ token: "eyJhbGciOi …})

upload function :point_down:

 const uploadToIpfs = async (file) => {
       // console.log("i'm file  from hook", file)
        const rootCid = await web3Client.put(file)
         return rootCid

I’m passing file as prop

I’ve tried to print file to console but it returns my selected file see here :point_down:

What could be reason of this error ?