mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
PR #1428 (issue #1366) extracted the inline `hasPermission` callback into a shared `canPerform` helper but left the original arrow-function body, its dependency array, and trailing `)` behind after the new `useCallback` block. The result was a syntactically invalid statement that broke `pnpm build` on the `dev` branch and is now blocking every E2E job in the PR queue. Delete the orphaned lines so the file parses again. No behavior change — the working `useCallback(canPerform(access, permission))` already supplies the same predicate the duplicated body did. |
||
|---|---|---|
| .. | ||
| agent-model-manager.tsx | ||
| buy-pages-content.tsx | ||
| buy-tokens-content.tsx | ||
| general-settings-manager.tsx | ||
| image-model-manager.tsx | ||
| llm-role-manager.tsx | ||
| more-pages-content.tsx | ||
| prompt-config-manager.tsx | ||
| roles-manager.tsx | ||
| vision-model-manager.tsx | ||