-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(app): extract event handling and notification logic
- Moved event handling and notification logic from `src/routes/sections/index.tsx` to `src/App.tsx`. - Created `AppContent` component in `src/App.tsx` for better encapsulation. - Replaced redundant logic in `Router` with streamlined routing logic, reducing complexity. - Simplified imports and removed unused constants and hooks in `src/routes/sections/index.tsx`. This improves maintainability by centralizing event watch and notification logic in a dedicated component.
- Loading branch information
Showing
2 changed files
with
111 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters