Skip to content
TypeScript

fix(mobile): stop Git sheet refresh loop (#16305)

Julius Marminge5c2798d47eb4
diff --git a/apps/mobile/src/features/threads/git/GitOverviewSheet.tsx b/apps/mobile/src/features/threads/git/GitOverviewSheet.tsx
index 54baa446737..1bcb225bf81 100644
--- a/apps/mobile/src/features/threads/git/GitOverviewSheet.tsx
+++ b/apps/mobile/src/features/threads/git/GitOverviewSheet.tsx
@@ -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) {