mirror of
https://github.com/colanode/colanode.git
synced 2025-12-23 23:19:29 +01:00
Switch from redux-toolkit to mobx
This commit is contained in:
@@ -25,13 +25,15 @@ const formSchema = z.object({
|
||||
description: z.string(),
|
||||
});
|
||||
|
||||
export function SpaceCreateDialog({
|
||||
open,
|
||||
onOpenChange,
|
||||
}: {
|
||||
interface SpaceCreateDialogProps {
|
||||
open: boolean;
|
||||
onOpenChange: (open: boolean) => void;
|
||||
}){
|
||||
}
|
||||
|
||||
export const SpaceCreateDialog = ({
|
||||
open,
|
||||
onOpenChange,
|
||||
}: SpaceCreateDialogProps) => {
|
||||
const workspace = useWorkspace();
|
||||
const [isPending, setIsPending] = React.useState(false);
|
||||
const form = useForm<z.infer<typeof formSchema>>({
|
||||
|
||||
Reference in New Issue
Block a user