[BUG]: Duplicate technology filter logic in handleApplyFilters causes redundant code
- Dominant language
- TypeScript
- Stars
- 716
- Forks
- 1.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 35
Description
### Describe the bug.
In `components/tools/Filters.tsx`, the `handleApplyFilters` function applies the technology filter twice.
### Expected behavior
Each filter should be applied only once inside `handleApplyFilters`.
### Screenshots
### How to Reproduce
1. Open `components/tools/Filters.tsx` and navigate to the `handleApplyFilters` function.
2. Notice that the `checkedTechnology` filter logic is applied twice.
### 🖥️ Device Information [optional]
- Operating System (OS):
- Browser:
- Browser Version:
### 👀 Have you checked for similar open issues?
- [x] I checked and didn't find similar issue
### 🏢 Have you read the Contributing Guidelines?
- [x] I have read the [Contributing Guidelines](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md)
### Are you willing to work on this issue ?
Yes I am willing to submit a PR!
Contributor guide
Research direction
Open components/tools/Filters.tsx and navigate to handleApplyFilters. Inspect the repeated checkedTechnology filter logic, remove the redundant application, and verify that each filter is applied only once in the function and that the filter UI still behaves as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 75/100