You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use ES module import for Tauri event listeners
The event listeners were silently falling back to DOM events instead of
Tauri events because require() fails in ES module builds and the
environment check was evaluated at module load time.
- Use ES module import instead of require()
- Check environment at runtime (function) instead of module load (static)
0 commit comments