Skip to content

[BUG] Unused imports in layout.tsx and Hero.tsx #676

Description

@kumar-ayan

Describe the bug
There are unused imports in src/app/layout.tsx and src/components/home/Hero.tsx. Although these don't cause runtime errors, they clutter the code and could trigger ESLint build failures if strict linting rules are enforced.

To Reproduce
Steps to reproduce the behavior:

  1. Open src/app/layout.tsx. Note the unused imports for:
    • BackgroundMesh (imported but only referenced in a commented-out line).
    • PageTrackerInit (imported but never referenced).
  2. Open src/components/home/Hero.tsx. Note the unused imports for:
    • Image (imported from next/image but never used).
    • MagneticText (imported from ../ui/magnetic-text but never used).

Expected behavior
Unused imports should be removed to keep the codebase clean, maintainable, and aligned with linting best practices.

Additional context
The specific unused imports are:

  • src/app/layout.tsx:
    • import BackgroundMesh from '@/components/layout/BackgroundMesh';
    • import PageTrackerInit from '@/components/PageTrackerInit';
  • src/components/home/Hero.tsx:
    • import Image from 'next/image';
    • import { MagneticText } from '../ui/magnetic-text';

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions