🚀 Auto-deploy: TrackSteelAPP atualizado em 24/09/2026 17:32:27

This commit is contained in:
2026-09-24 17:32:27 +00:00
parent 48e845c243
commit b226fc09fe
2 changed files with 10 additions and 1 deletions
+3 -1
View File
@@ -299,7 +299,7 @@ export const ModelViewer3D: React.FC<ModelViewer3DProps> = ({
// Update Model in Scene & Carregar Rotação Memorizada // Update Model in Scene & Carregar Rotação Memorizada
useEffect(() => { useEffect(() => {
if (!sceneRef.current || !modelData) return; if (!sceneRef.current) return;
// Remove old model if present // Remove old model if present
if (modelGroupRef.current) { if (modelGroupRef.current) {
@@ -307,6 +307,8 @@ export const ModelViewer3D: React.FC<ModelViewer3DProps> = ({
modelGroupRef.current = null; modelGroupRef.current = null;
} }
if (!modelData) return;
const group = modelData.sceneGroup; const group = modelData.sceneGroup;
modelGroupRef.current = group; modelGroupRef.current = group;
sceneRef.current.add(group); sceneRef.current.add(group);
+7
View File
@@ -0,0 +1,7 @@
import { createClient } from '@supabase/supabase-js';
const supabase = createClient('https://supabase.reifonas.cloud', 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzdXBhYmFzZSIsImlhdCI6MTc3Mjk5NTUwMCwiZXhwIjo0OTI4NjY5MTAwLCJyb2xlIjoiYW5vbiJ9.kOAYmQJlNd3LsssUHaNyvWZpa2sunfpLj24F_X-PRNY', { db: { schema: 'TS_ERP' } });
async function run() {
const { data } = await supabase.from('profiles').select('*').eq('email', 'admtracksteel@gmail.com.br');
console.log('admtracksteel:', data);
}
run();