Skip to content

Dead code: components/widgets/TextBox.js is never imported #124

Description

@wrigjl

Summary

components/widgets/TextBox.js (default export TextBox) is not imported anywhere in the repository. A repo-wide search for TextBox returns only the file's own definition plus two unrelated comments that happen to contain the word "textbox" (in components/pageblocks/ProblemRowReact.js) — no import sites.

Details

  • The component is a generic form skeleton (<form> with a labeled text input and a submit button) driven entirely by props.
  • Its own comment notes the prop contract is "very arbitrary and subject to change," suggesting it was an early scaffold that was never adopted.

Verification

grep -rn "TextBox" . --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=.next | grep -iE "import|require"
# no import/require references outside the file itself

Suggested action

Confirm it is unused and remove it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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