From b07af966733dac4c813c1065985ee4557be38c86 Mon Sep 17 00:00:00 2001 From: Thomas Fuhrmann Date: Tue, 1 Apr 2025 14:41:32 +0200 Subject: [PATCH] Fix lints --- app/components/Form.tsx | 8 ++++---- app/three/SceneView.ts | 18 +++++++----------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/app/components/Form.tsx b/app/components/Form.tsx index ac354df..f1fd145 100644 --- a/app/components/Form.tsx +++ b/app/components/Form.tsx @@ -259,9 +259,9 @@ export function Form() {
{sceneView?.model.children.map((child) => { const key = `toggle-visibility-${child.name}`; - //const color = `#${( - // (child as Mesh).material as MeshStandardMaterial - //).color.getHexString()}`; + const color = `#${( + (child as Mesh).material as MeshStandardMaterial + ).color.getHexString()}`; const visible = (child as Mesh).visible; return ( @@ -272,7 +272,7 @@ export function Form() {