mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-20 01:18:10 +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 {
|
import type {
|
||||||
SandpackProviderProps,
|
SandpackProviderProps,
|
||||||
SandpackPreviewRef,
|
SandpackPreviewRef,
|
||||||
PreviewProps,
|
|
||||||
} from '@codesandbox/sandpack-react/unstyled';
|
} from '@codesandbox/sandpack-react/unstyled';
|
||||||
import type { TStartupConfig } from 'librechat-data-provider';
|
import type { TStartupConfig } from 'librechat-data-provider';
|
||||||
import type { ArtifactFiles } from '~/common';
|
import type { ArtifactFiles } from '~/common';
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ export default function Artifacts() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
setArtifactsVisible(false);
|
setArtifactsVisible(false);
|
||||||
setIsClosing(false);
|
setIsClosing(false);
|
||||||
setHeight(90); // Reset height
|
setHeight(90);
|
||||||
}, 250);
|
}, 250);
|
||||||
} else {
|
} else {
|
||||||
resetCurrentArtifactId();
|
resetCurrentArtifactId();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue