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:
- 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).
- 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';
Describe the bug
There are unused imports in
src/app/layout.tsxandsrc/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:
BackgroundMesh(imported but only referenced in a commented-out line).PageTrackerInit(imported but never referenced).Image(imported fromnext/imagebut never used).MagneticText(imported from../ui/magnetic-textbut 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';