Summary
Alert is imported from antd in react/src/components/VFolderNodes.tsx but has no remaining references. The last usage was removed in commit 0ca1f8b1d (FR-2819 / #7370) without cleaning up the import line.
Why this matters
The strict pre-commit hook (eslint ./src --max-warnings=0 via lint-staged) lints the entire react/src tree, not just staged files. This pre-existing no-unused-vars warning on main therefore blocks unrelated commits across the repo until cleaned up. It surfaced while amending an unrelated feature PR (FR-26 / #7455).
Change
react/src/components/VFolderNodes.tsx — drop Alert from the antd import. Import-only removal, no runtime behavior change.
Notes
JIRA Issue: FR-2917
Summary
Alertis imported fromantdinreact/src/components/VFolderNodes.tsxbut has no remaining references. The last usage was removed in commit0ca1f8b1d(FR-2819 / #7370) without cleaning up the import line.Why this matters
The strict pre-commit hook (
eslint ./src --max-warnings=0via lint-staged) lints the entirereact/srctree, not just staged files. This pre-existingno-unused-varswarning onmaintherefore blocks unrelated commits across the repo until cleaned up. It surfaced while amending an unrelated feature PR (FR-26 / #7455).Change
react/src/components/VFolderNodes.tsx— dropAlertfrom theantdimport. Import-only removal, no runtime behavior change.Notes
JIRA Issue: FR-2917