Fix lint errors for the 50th time

This commit is contained in:
Alex Gleason committed 2025-12-23 08:58:20 -06:00
1 parent 028d22c7c9
commit a8796e6197
2 files changed
+1 -7

No files matched your search

+1 -3
View File
@@ -32,8 +32,6 @@ interface PreviewPaneProps {
projectId: string;
activeTab: 'preview' | 'code';
onToggleView?: () => void;
projectName?: string;
onFirstInteraction?: () => void;
isPreviewable?: boolean;
}
@@ -67,7 +65,7 @@ interface JSONRPCResponse {
id: number;
}
export function PreviewPane({ projectId, activeTab, onToggleView, projectName, onFirstInteraction: _onFirstInteraction, isPreviewable = true }: PreviewPaneProps) {
export function PreviewPane({ projectId, activeTab, onToggleView, isPreviewable = true }: PreviewPaneProps) {
const { t } = useTranslation();
const { config } = useAppContext();
const { previewDomain } = config;
-4
View File
@@ -378,8 +378,6 @@ export function ProjectView() {
<PreviewPane
projectId={project.id}
activeTab={mobileView}
projectName={project.name}
onFirstInteraction={handleFirstInteraction}
/>
) : (
<div className="h-full p-4 space-y-4">
@@ -608,8 +606,6 @@ export function ProjectView() {
projectId={project.id}
activeTab={isPreviewable ? activeTab : 'code'}
onToggleView={isPreviewable ? () => setActiveTab(activeTab === 'preview' ? 'code' : 'preview') : undefined}
projectName={project.name}
onFirstInteraction={handleFirstInteraction}
isPreviewable={isPreviewable}
/>
) : (