mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-01 11:53:55 +00:00
handleUnifiedUpload called setToolResource(undefined) and the unified-mode FileUpload passed a bare `toolResource` — neither is declared at component scope (only toolResourceRef exists; setToolResource is local to dropdownItems). Clicking the single attach button therefore threw a ReferenceError and never opened the file picker, so the unified upload flow was dead. Use toolResourceRef.current, matching the legacy path. Slipped past CI because the client builds via Vite (transpile-only) and the TypeScript-check job doesn't cover client/. Caught by the new e2e/specs/mock/unified-upload.spec.ts. |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src | ||
| sw | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| jest.resolver.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||