mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:18:30 +02:00
Fix GRPC with files not refreshing, and tight render loop
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { invoke } from '@tauri-apps/api/core';
|
||||
import { invokeCmd } from './tauri';
|
||||
|
||||
export type TrackResource =
|
||||
| 'appearance'
|
||||
@@ -37,7 +37,7 @@ export function trackEvent(
|
||||
action: TrackAction,
|
||||
attributes: Record<string, string | number> = {},
|
||||
) {
|
||||
invoke('cmd_track_event', {
|
||||
invokeCmd('cmd_track_event', {
|
||||
resource: resource,
|
||||
action,
|
||||
attributes,
|
||||
|
||||
Reference in New Issue
Block a user