Skip to content

Dead code: remove useAuthFlowBuilder hook + AuthFlowBuilderPage (replaced by useAuthMethods/AuthFlowBuilder) #230

Description

@ahmetabdullahgultekin

From the 2026-06-02 frontend review (P2-1), verified present on origin/main (src/hooks/useAuthFlowBuilder.ts, src/hooks/__tests__/useAuthFlowBuilder.test.ts, src/pages/AuthFlowBuilderPage.tsx). The hook is imported only by its own test; the live UI uses useAuthMethods + src/features/authFlows/components/AuthFlowBuilder.tsx. AuthFlowBuilderPage is never routed (live route loads AuthFlowsPage). The dead hook also holds hardcoded English error strings (would violate the i18n rule if it were live).

Action: delete the hook, its test, and the orphan page after grep-confirming zero live imports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dead-codeVerified-unused code slated for deletion (DI-aware V&V)surface/webweb-app (React dashboard + hosted login)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions