mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-28 06:08:50 +01:00
refactor: Remove unused PreviewProps import in ArtifactPreview component
This commit is contained in:
parent
a7dc109856
commit
cf9de4d4a5
2 changed files with 1 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue