Skip to content

chore: update dependencies and refactor components#4

Merged
Jannik-Schroeder merged 2 commits intomainfrom
dev
Feb 21, 2026
Merged

chore: update dependencies and refactor components#4
Jannik-Schroeder merged 2 commits intomainfrom
dev

Conversation

@Jannik-Schroeder
Copy link
Member

  • 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.

Jannik Schroeder 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.
@Jannik-Schroeder Jannik-Schroeder merged commit be80065 into main Feb 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant