Skip to content

Commit

Permalink
Fix: Removed duplicate Routes block to prevent redundant rendering
Browse files Browse the repository at this point in the history
- Eliminated a second Routes block in App.jsx that caused components to render twice.
- Ensured that routing logic is handled within the Preloader conditional.
- Verified application layout to confirm proper rendering without duplication.
- Improved overall code structure and performance by avoiding unnecessary renders.
  • Loading branch information
Rohitswami16 committed Jan 8, 2025
1 parent f44d522 commit 33fafee
Show file tree
Hide file tree
Showing 7 changed files with 217 additions and 195 deletions.
144 changes: 62 additions & 82 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"postcss": "^8.4.47",
"prettier": "^3.0.1",
"prettier-plugin-tailwindcss": "^0.4.1",
"tailwindcss": "^3.4.14",
"tailwindcss": "^3.4.17",
"vite": "^4.5.5"
}
}
Loading

0 comments on commit 33fafee

Please sign in to comment.