mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
🔮 fix: Artifacts readOnly to Re-render when Expected (#8954)
This commit is contained in:
parent
9ca1847535
commit
4eeadddfe6
4 changed files with 14 additions and 21 deletions
|
|
@ -29,7 +29,6 @@ export default function Artifacts() {
|
|||
isMermaid,
|
||||
setActiveTab,
|
||||
currentIndex,
|
||||
isSubmitting,
|
||||
cycleArtifact,
|
||||
currentArtifact,
|
||||
orderedArtifactIds,
|
||||
|
|
@ -116,7 +115,6 @@ export default function Artifacts() {
|
|||
<ArtifactTabs
|
||||
isMermaid={isMermaid}
|
||||
artifact={currentArtifact}
|
||||
isSubmitting={isSubmitting}
|
||||
editorRef={editorRef as React.MutableRefObject<CodeEditorRef>}
|
||||
previewRef={previewRef as React.MutableRefObject<SandpackPreviewRef>}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue