Skip to content

[UI] Guard Tauri bridge calls in browser/Vite mode #85

Description

@ACFHarbinger

Fixed in d7c2907.

The React frontend was calling Tauri invoke/event APIs when loaded outside the desktop runtime, producing Cannot read properties of undefined (reading invoke). Added a guarded shared invoke wrapper and skipped Tauri event listener registration outside desktop mode. npm run build passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponent:frontendsrc/ (React/TypeScript UI)javascriptPull requests that update javascript code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions