Explorar o código

chore(js-cli) remove test code from tauri.js template

Lucas %!s(int64=5) %!d(string=hai) anos
pai
achega
bf3c5b0587
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cli/tauri.js/templates/tauri.js

+ 1 - 1
cli/tauri.js/templates/tauri.js

@@ -389,7 +389,7 @@ document.addEventListener('error', function (e) {
       window.tauri.loadAsset(target.src, 'image')
         .then(img => {
           target.src = img
-        }).catch(alert)
+        })
       break
     }
     target = target.parentElement