Fix GRPC with files not refreshing, and tight render loop

This commit is contained in:
Gregory Schier
2024-06-20 08:40:10 -07:00
parent f81ffe249e
commit d29e503309
62 changed files with 221 additions and 163 deletions

View File

@@ -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,