Skip to content

Commit

Permalink
bux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico4899 committed Nov 18, 2023
1 parent 1699702 commit 84abbb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fn main() {
// setup tauri
tauri::Builder::default()
.manage(TraceState::new())
.invoke_handler(tauri::generate_handler![emergency, launch_pod, land_pod, connect_pod])
.invoke_handler(tauri::generate_handler![emergency, launch_pod, land_pod, connect_pod, listen_to_trace, unlisten_to_trace])
.setup(|app| {
println!("Hello, Tauri!");
random_integer(app.handle());
Expand Down
2 changes: 1 addition & 1 deletion src/components/TraceGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function TraceGrid({}: TraceGridProps) {
if (subscriptionActive) {
invoke("unlisten_to_trace");
} else {
invoke("listen_to_trace");
invoke("listen_to_trace").then(e => console.log(e));
}
};

Expand Down

0 comments on commit 84abbb4

Please sign in to comment.