Remove manual unit setting

This commit is contained in:
gpt-engineer-app[bot]
2025-09-28 22:56:16 +00:00
parent 4a3b4d2caf
commit 0f87bd43c6

View File

@@ -280,20 +280,6 @@ export function LocationTab() {
</Select> </Select>
</div> </div>
<div className="flex items-center justify-between">
<div className="space-y-1">
<Label>Auto-detect from location</Label>
<p className="text-sm text-muted-foreground">
Automatically set measurement system based on your location when you first visit
</p>
</div>
<Switch
checked={unitPreferences.auto_detect}
onCheckedChange={(checked) =>
updateUnitPreferences({ auto_detect: checked })
}
/>
</div>
</CardContent> </CardContent>
</Card> </Card>
</div> </div>