fix: remove debug state card and rename Settings/GlobalSettings to avoid confusion

This commit is contained in:
2026-07-10 14:32:17 +00:00
parent f8ebe62f74
commit be112ac6f8
3 changed files with 2 additions and 17 deletions
-15
View File
@@ -18,7 +18,6 @@ import AuditPanel from '@/components/AuditPanel';
const SettingsModule: React.FC = () => {
const { theme, setTheme, effectiveTheme } = useTheme();
const { projects, loading, error, remove } = useProjects();
const { v0, terrainCategory, structureClass, s3Group } = useWindStore();
const { t, locale } = useI18n();
const fileInputRef = useRef<HTMLInputElement | null>(null);
@@ -191,20 +190,6 @@ const SettingsModule: React.FC = () => {
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle className="text-lg">{t('settings_state')}</CardTitle>
<CardDescription>{t('settings_state_desc')}</CardDescription>
</CardHeader>
<CardContent>
<div className="grid grid-cols-2 md:grid-cols-3 gap-2 text-sm">
<div className="rounded-md border bg-muted/40 p-2"><span className="text-muted-foreground">V:</span> <span className="font-mono">{v0}</span></div>
<div className="rounded-md border bg-muted/40 p-2"><span className="text-muted-foreground">Categoria:</span> <span className="font-mono">{terrainCategory}</span></div>
<div className="rounded-md border bg-muted/40 p-2"><span className="text-muted-foreground">Classe:</span> <span className="font-mono">{structureClass}</span></div>
<div className="rounded-md border bg-muted/40 p-2"><span className="text-muted-foreground">S grupo:</span> <span className="font-mono">{s3Group}</span></div>
</div>
</CardContent>
</Card>
<Card>
<CardHeader>