Skip to content

Conversation

@meKushdeepSingh
Copy link
Collaborator

  • Updated the UI for channel category list items to visually appear as if extending off the screen.
  • Refactored related code for better readability and maintainability.

1737109699969

- Updated the UI for channel category list items to visually appear as if extending off the screen.
- Refactored related code for better readability and maintainability.
@meKushdeepSingh meKushdeepSingh self-assigned this Jan 17, 2025
@meKushdeepSingh meKushdeepSingh linked an issue Jan 17, 2025 that may be closed by this pull request
@github-actions
Copy link

In the src/Globals.ts file:

  1. There is a missing closing brace '}' for the AUTH_STATE object.
  2. There is a missing comma ',' after the 'AUTHENTICATED' property in the AUTH_STATE object.
  3. There is a missing comma ',' after the 'AuthTypeNone' property in the AUTH_TYPE object.

At the end where SCREENS and AUTH_STATE objects are defined, the 'export' keyword is missing to export these objects.

In the src/components/ui/ChannelCategories.tsx file:

  1. The closing brace '}' for the functional component ChannelCategories is placed before the export statement. It should be moved after the export statement.

In the src/components/ui/ChannelsDisplayer.tsx file:

  1. The useEffect hook for 'handleChannelSearch' is missing a closing curly brace '}'.
  2. The closing curly brace '}' for the handleCategoryChange function should be placed after the if block, currently, it is inside the if block.
  3. The 'const ChannelsDisplayer' function is missing its closing curly brace '}'.
  4. The 'handleCategoryChange' function is missing a closing curly brace '}' after the setSearch(''); line.
  5. The 'handleChannelSearch' function is missing a closing curly brace '}' after the setSelectedCategory(Globals.CONSTANTS.ALL_CATEGORIES); line.

All other parts of the code seem to be fine.

Please make the necessary corrections mentioned above.

@rohitmalhotra1420 rohitmalhotra1420 merged commit 0b9bf23 into main Jan 22, 2025
1 check 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.

UI Fix for Channel Category List Items

3 participants