chore: update dependencies and refactor components#4
Merged
Jannik-Schroeder merged 2 commits intomainfrom Feb 21, 2026
Merged
Conversation
added 2 commits
February 20, 2026 22:13
- Added `swr` as a dependency in the project. - Refactored layout handling in various components to utilize `next/script` for improved script management. - Updated `FileDownloadClient`, `SecurePasteClient`, and other components to use `useReducer` for state management, enhancing code clarity and maintainability. - Fixed minor bugs and improved overall code structure for better readability.
- Updated API_URL assignment to use nullish coalescing for better default handling. - Fixed file input handling by adding optional chaining to prevent errors when files are not present. - Enhanced DropZone component with improved conditional rendering and class management. - Introduced utility hooks for auto-reset functionality, resume tracking, and share panel height management to streamline component logic.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
swras a dependency in the project.next/scriptfor improved script management.FileDownloadClient,SecurePasteClient, and other components to useuseReducerfor state management, enhancing code clarity and maintainability.