refactor: Remove unused PreviewProps import in ArtifactPreview component
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -143,7 +143,7 @@ export default function Artifacts() {
|
||||
setTimeout(() => {
|
||||
setArtifactsVisible(false);
|
||||
setIsClosing(false);
|
||||
setHeight(90); // Reset height
|
||||
setHeight(90);
|
||||
}, 250);
|
||||
} else {
|
||||
resetCurrentArtifactId();
|
||||
|
||||
Reference in New Issue
Block a user