🚀 Auto-deploy: TrackSteelAPP atualizado em 24/09/2026 17:32:27
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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();
|
||||||
Reference in New Issue
Block a user