mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-05 00:37:04 +02:00
Better mutation errors and fix workspace creation
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user