Better tauri listeners and stuff

This commit is contained in:
Gregory Schier
2023-03-30 09:05:54 -07:00
parent 7fcf709efe
commit bb2ba21bbd
23 changed files with 305 additions and 794 deletions

View File

@@ -1,8 +1,9 @@
import { useQuery } from '@tanstack/react-query';
import { invoke } from '@tauri-apps/api';
import type { Workspace } from '../lib/models';
import { useQuery } from '@tanstack/react-query';
export function workspacesQueryKey() {
// eslint-disable-next-line @typescript-eslint/no-unused-vars,@typescript-eslint/ban-types
export function workspacesQueryKey(_?: {}) {
return ['workspaces'];
}