Skip to content

chore(brands): remove unused imports in brand settings page #293

Closed

Description

@gkhngyk

What

The brand settings page imports four symbols that are never used. Remove them.

In web/src/app/[locale]/(dashboard)/dashboard/brands/[id]/settings/page.tsx each of these appears only on its import line, with no usage in the file:

  • Pencil (from lucide-react)
  • X (from lucide-react)
  • DialogTrigger (from @/components/ui/dialog)
  • DialogClose (from @/components/ui/dialog)

Why

Dead imports. ESLint flags them as @typescript-eslint/no-unused-vars warnings (not errors, so they slip through CI). Removing them keeps the file clean and the lint output quiet.

Fix

Delete the four unused imports from settings/page.tsx. While you're in the file, running yarn lint from web/ will confirm there are no other unused imports left behind. No behavior change.

Acceptance

  • Pencil, X, DialogTrigger, DialogClose imports are removed from settings/page.tsx.
  • The page renders and behaves exactly as before.
  • yarn lint / typecheck / format:check from web/ pass (no new warnings for this file).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions