Better mutation errors and fix workspace creation

This commit is contained in:
Gregory Schier
2025-01-15 07:40:35 -08:00
parent 0e21d901cd
commit 3614c2acd5
8 changed files with 31 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ import { createFastMutation } from '../hooks/useFastMutation';
import { showSimpleAlert } from '../lib/alert';
import { router } from '../lib/router';
export const openWorkspaceFromSyncDir = createFastMutation({
export const openWorkspaceFromSyncDir = createFastMutation<void>({
mutationKey: [],
mutationFn: async () => {
const dir = await open({