fix(web): resolve Vercel build errors from security hardening PR

- ProcessFlowModal: revert import from non-existent @/lib/lucide-icons back to lucide-react
- embedding-pipeline: remove extra argument in executeQuery call (signature only accepts 1 arg)

Both issues were introduced in PR #475 (web-security-hardening).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
abhigyanpatwari 2026-03-23 19:21:37 +05:30
parent 519dc3eccc
commit d6878dcec6
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
*/
import { useEffect, useRef, useCallback, useState } from 'react';
import { X, GitBranch, Copy, Focus, Layers, ZoomIn, ZoomOut } from '@/lib/lucide-icons';
import { X, GitBranch, Copy, Focus, Layers, ZoomIn, ZoomOut } from 'lucide-react';
import mermaid from 'mermaid';
import DOMPurify from 'dompurify';
import { ProcessData, generateProcessMermaid } from '../lib/mermaid-generator';

View file

@ -124,7 +124,7 @@ const createVectorIndex = async (
`;
try {
await executeQuery(cypher, false); // readOnly=false: CALL CREATE_VECTOR_INDEX is a write operation
await executeQuery(cypher);
} catch (error) {
// Index might already exist
if (import.meta.env.DEV) {