mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
fix(frontend): close sheet when opening new repo dialog (#230)
This commit is contained in:
1 parent
531eb08f4d
commit
982110f041
1 file changed
+4
-1
@@ -91,7 +91,10 @@ export function RepoQuickSwitchSheet({ isOpen, onClose }: RepoQuickSwitchSheetPr
|
||||
<Button
|
||||
type="button"
|
||||
size="sm"
|
||||
onClick={() => setAddRepoOpen(true)}
|
||||
onClick={() => {
|
||||
onClose()
|
||||
setAddRepoOpen(true)
|
||||
}}
|
||||
className="flex-shrink-0"
|
||||
>
|
||||
<Plus className="h-4 w-4" /> Repo
|
||||
|
||||
Reference in new issue
Block a user