feat: Refactor imports and remove unnecessary props in Artifact components

This commit is contained in:
Marco Beretta 2025-08-22 11:09:59 +02:00
parent 2a5a3fe508
commit 29b8314870
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
2 changed files with 2 additions and 3 deletions

View file

@ -19,7 +19,6 @@ export default function ArtifactTabs({
artifact: Artifact;
editorRef: React.MutableRefObject<CodeEditorRef>;
previewRef: React.MutableRefObject<SandpackPreviewRef>;
isSubmitting: boolean;
}) {
const { isSubmitting } = useArtifactsContext();
const { currentCode, setCurrentCode } = useEditorContext();

View file

@ -1,8 +1,8 @@
import React, { useState } from 'react';
import { MenuButton } from '@ariakit/react';
import { History, Check } from 'lucide-react';
import { DropdownPopup, TooltipAnchor, Button } from '~/components';
import { useLocalize, useMediaQuery } from '~/hooks';
import { DropdownPopup, TooltipAnchor, Button, useMediaQuery } from '@librechat/client';
import { useLocalize } from '~/hooks';
interface ArtifactVersionProps {
currentIndex: number;