mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-04 22:06:24 +01:00
Add live git status indicators (#458)
This commit is contained in:
1 parent
1b154ba550
commit
d7e67cf13c
35 files changed
+1702
-578
No files matched your search
@@ -10,7 +10,7 @@ import {
|
||||
TableHeaderCell,
|
||||
TableRow,
|
||||
} from "@yaakapp-internal/ui";
|
||||
import { gitCallbacks } from "./callbacks";
|
||||
import { useGitCallbacks } from "./callbacks";
|
||||
import { addGitRemote } from "./showAddRemoteDialog";
|
||||
|
||||
interface Props {
|
||||
@@ -19,7 +19,8 @@ interface Props {
|
||||
}
|
||||
|
||||
export function GitRemotesDialog({ dir }: Props) {
|
||||
const [{ remotes }, { rmRemote }] = useGit(dir, gitCallbacks(dir));
|
||||
const callbacks = useGitCallbacks(dir);
|
||||
const [{ remotes }, { rmRemote }] = useGit(dir, callbacks);
|
||||
|
||||
return (
|
||||
<Table scrollable>
|
||||
|
||||
Reference in new issue
Block a user