mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-08-28 05:25:25 +00:00
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:
parent
519dc3eccc
commit
d6878dcec6
2 changed files with 2 additions and 2 deletions
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue