🚀 Auto-deploy: melhoria no snap e medição AR em 25/05/2026 00:21:23

This commit is contained in:
2026-05-25 00:21:23 +00:00
parent e390fd0f59
commit 3c903c1ff1
2 changed files with 93 additions and 45 deletions
+2 -1
View File
@@ -25,7 +25,7 @@ const Index = () => {
const { model, addModel, models, maxModels, xrSupported, setXrSupported } = useModelStore();
// --- Painel de Logs Remotos em Tempo Real ---
const [debugLogs, setDebugLogs] = useState<{ level: 'info' | 'warn' | 'error'; message: string; timestamp: string; data?: any }[]>([]);
const [debugLogs, setDebugLogs] = useState<{ level: 'info' | 'warn' | 'error'; message: string; timestamp: string; data?: unknown }[]>([]);
const [showLogs, setShowLogs] = useState(() => new URLSearchParams(window.location.search).get('viewlogs') === 'true');
useEffect(() => {
@@ -204,6 +204,7 @@ const Index = () => {
type="file"
accept={ACCEPTED_EXTENSIONS}
className="hidden"
title="Importar arquivo de modelo 3D"
onChange={handleFileUpload} />