fix(mobile): stop Git sheet refresh loop (#16305)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
c001e191a1
commit
5c2798d47e
1 file changed
-4
@@ -135,10 +135,6 @@ function GitOverviewSheetContent(props: GitOverviewSheetProps) {
|
||||
[busy, canWriteSourceControl, gitStatus.data, hasPrimaryRemote, menuItems],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
void gitActions.refreshSelectedThreadGitStatus({ quiet: true });
|
||||
}, [gitActions]);
|
||||
|
||||
const openExistingPr = useCallback(async () => {
|
||||
const prUrl = gitStatus.data?.pr?.state === "open" ? gitStatus.data.pr.url : null;
|
||||
if (!prUrl) {
|
||||
|
||||
Reference in new issue
Block a user