does anyone have already face this error ``TypeEr...
# javascript
r
does anyone have already face this error ``TypeError: The "obj" argument must be an instance of Blob. Received an instance of Blob ``
Copy code
ts
export const getStaticProps: GetStaticProps = async (context) => {
    let url=""
    const {data,error} = await supabase.storage
        .from("hiking-picture")
        .download("public/1658501487135-images.jpeg")
        if(data){
            url = URL.createObjectURL(data)
        }
    return {
        props: {
            x:url
        },
    };
};
j
There might be two classes named Blob but only one of them is the correct type
r
i don't have two class named blob
5 Views