From cf9de4d4a534f8a18bb421c3520ca63fd0a1d6a5 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Fri, 24 Oct 2025 16:20:10 +0200 Subject: [PATCH] refactor: Remove unused PreviewProps import in ArtifactPreview component --- client/src/components/Artifacts/ArtifactPreview.tsx | 1 - client/src/components/Artifacts/Artifacts.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/components/Artifacts/ArtifactPreview.tsx b/client/src/components/Artifacts/ArtifactPreview.tsx index 295437e629..c125889c88 100644 --- a/client/src/components/Artifacts/ArtifactPreview.tsx +++ b/client/src/components/Artifacts/ArtifactPreview.tsx @@ -3,7 +3,6 @@ import { SandpackPreview, SandpackProvider } from '@codesandbox/sandpack-react/u import type { SandpackProviderProps, SandpackPreviewRef, - PreviewProps, } from '@codesandbox/sandpack-react/unstyled'; import type { TStartupConfig } from 'librechat-data-provider'; import type { ArtifactFiles } from '~/common'; diff --git a/client/src/components/Artifacts/Artifacts.tsx b/client/src/components/Artifacts/Artifacts.tsx index 2697d4a7f3..72ded65b4e 100644 --- a/client/src/components/Artifacts/Artifacts.tsx +++ b/client/src/components/Artifacts/Artifacts.tsx @@ -143,7 +143,7 @@ export default function Artifacts() { setTimeout(() => { setArtifactsVisible(false); setIsClosing(false); - setHeight(90); // Reset height + setHeight(90); }, 250); } else { resetCurrentArtifactId();