diff --git a/src/services/BlockService/PathProcessor.tsx b/src/services/BlockService/PathProcessor.tsx index 3df3d80e..ccb503a4 100644 --- a/src/services/BlockService/PathProcessor.tsx +++ b/src/services/BlockService/PathProcessor.tsx @@ -31,8 +31,7 @@ export const processPath = async (block: Block, params: Params, if (!parsedPath) { return false; } - // eslint-disable-next-line - // @ts-ignore - setPaths(prev => [...prev, parsedPath]); + const path = parsedPath; + setPaths(prev => [...prev, path]); return true; } \ No newline at end of file