refactor: Remove unused PreviewProps import in ArtifactPreview component

This commit is contained in:
Marco Beretta 2025-10-24 16:20:10 +02:00
parent a7dc109856
commit cf9de4d4a5
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
2 changed files with 1 additions and 2 deletions

View file

@ -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';

View file

@ -143,7 +143,7 @@ export default function Artifacts() {
setTimeout(() => {
setArtifactsVisible(false);
setIsClosing(false);
setHeight(90); // Reset height
setHeight(90);
}, 250);
} else {
resetCurrentArtifactId();