Skip to content

Duplicate Route Definitions #250

@0marSalah

Description

@0marSalah

Summary:
Two conflicting routes for /:

<Route path='/' element={<Home />} />      // inside Layout
<Route path='/' element={<LandingPage />} /> // outside Layout

Impact:
Routing unpredictable — one route shadowed, confusing for maintainers.

Suggested Fix:
Consolidate into one definition or redirect based on auth state.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions