"use client" import { useState } from "react" import { FolderOpen, GitBranch } from "lucide-react" import { open } from "@tauri-apps/plugin-dialog" import { openFolderWindow } from "@/lib/tauri" import { Button } from "@/components/ui/button" import { CloneDialog } from "./clone-dialog" export function FolderActions() { const [cloneOpen, setCloneOpen] = useState(false) const handleOpen = async () => { const selected = await open({ directory: true, multiple: false }) if (selected) { await openFolderWindow(selected) } } return (
) }