mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-20 07:51:20 +02:00
A bunch of changes, including moving prompt/confirm out of context
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useState } from 'react';
|
||||
import { useCommands } from '../hooks/useCommands';
|
||||
import {createWorkspace} from "../lib/commands";
|
||||
import { Button } from './core/Button';
|
||||
import { PlainInput } from './core/PlainInput';
|
||||
import { VStack } from './core/Stacks';
|
||||
@@ -14,7 +14,6 @@ export function CreateWorkspaceDialog({ hide }: Props) {
|
||||
const [name, setName] = useState<string>('');
|
||||
const [description, setDescription] = useState<string>('');
|
||||
const [settingSyncDir, setSettingSyncDir] = useState<string | null>(null);
|
||||
const { createWorkspace } = useCommands();
|
||||
|
||||
return (
|
||||
<VStack
|
||||
|
||||
Reference in New Issue
Block a user