Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move fallible code to end of function
Navigator::vibrate_with_duration fails unexpectedly on platforms that don't support vibration. The expected behavior would be a NOP without failure. This might be a bug in wasm-bindgen. I will check again after updating leptos to 0.7. https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate
- Loading branch information