it captures the image and when I try to use canva.toDataURL() it does not give us an image and throws the exception on the console
(index):45 Uncaught DO