Plugin runtime v2 (#62)

This commit is contained in:
Gregory Schier
2024-08-08 21:30:59 -07:00
committed by GitHub
parent f967820f12
commit 063e6cf00c
64 changed files with 1539 additions and 705 deletions

View File

@@ -12,9 +12,7 @@ export function useWorkspaces() {
useQuery({
queryKey: workspacesQueryKey(),
queryFn: async () => {
console.log('GETTING WORKSPACES');
const workspaces = await invokeCmd('cmd_list_workspaces');
console.log('GOT WORKSPACES');
return workspaces as Workspace[];
},
}).data ?? []