TypeScript
fix(web): reset automatic pull to default (#9763)
mariaf6db4206258b
diff --git a/apps/web/src/components/settings/ProjectSettingsPanel.tsx b/apps/web/src/components/settings/ProjectSettingsPanel.tsxindex 41b942d09f8..7be0f15cd5c 100644--- a/apps/web/src/components/settings/ProjectSettingsPanel.tsx+++ b/apps/web/src/components/settings/ProjectSettingsPanel.tsx@@ -990,6 +990,11 @@ function ProjectDetail({ group }: { group: SidebarProjectSnapshot }) {<SettingsRowtitle="Automatically pull"description="Keeps the default branch current in the background when the checkout has no local changes or commits."+ resetAction={+ autoPull ? (+ <SettingResetButton label="automatic pull" onClick={() => setAutoPull(false)} />+ ) : null+ }control={<Switchchecked={autoPull}