How to use blob as .map in meshStandardMaterial

I am trying to program the MTB jersey configurator. First, I load the texture into the jpg material.

After choosing a color, I generate a blob in the browser.

And now I want to update it in the material. But I get an error message in the console.
image

Here is my project: konfigurator

You can convert Blob to a URL and pass it directly to a TextureLoader - then pass the texture loaded via loader to the material.

Thank you. I haven’t used textureLoader before.
Now it’s functional: konfigurator