fix(tailwind): resolve custom classNames recognition#111
Open
heydoyouknowme0 wants to merge 1 commit intomainfrom
Open
fix(tailwind): resolve custom classNames recognition#111heydoyouknowme0 wants to merge 1 commit intomainfrom
heydoyouknowme0 wants to merge 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Pull Request Overview
This PR fixes Tailwind custom classNames recognition by consolidating multiple styling props into a unified "classNames" object and updating related imports. It also removes obsolete constants and reorders or cleans up imports to ensure consistency.
- Updated the category type definition in types/index.ts.
- Removed the deprecated constants/categories.ts file.
- Adjusted imports and updated component props usage in MobileFilter.tsx, Filter.tsx, Categories components, and CategoriesDrawer.tsx.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| types/index.ts | Renamed type "category" to "Category" and consolidated style props. |
| constants/categories.ts | Removed obsolete file in favor of inline category definitions. |
| app/components/Search/MobileFilter.tsx | Updated imports and references to use the new categories source. |
| app/components/Search/Filter.tsx | Adjusted import order and references consistently. |
| app/components/HomePage/Categories/index.tsx | Defined categories inline using the new "classNames" structure. |
| app/components/HomePage/Categories/categoryCard.tsx | Updated component props to utilize the unified "classNames" object. |
| app/components/BottomNav/CategoriesDrawer.tsx | Updated import reference to leverage the new categories definition. |
Contributor
Author
|
wen merge |
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.
No description provided.