Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dashboard] Remove tw-components from marketplace components #5367

Merged
merged 1 commit into from
Nov 11, 2024

Commits on Nov 11, 2024

  1. [Dashboard] Remove tw-components from marketplace components (#5367)

    ## Problem solved
    
    Short description of the bug fixed or feature added
    
    <!-- start pr-codex -->
    
    ---
    
    ## PR-Codex overview
    This PR focuses on replacing the `tw-components` library's `Text` and `Heading` components with standard HTML elements like `<p>` and `<div>` to simplify the code structure and improve styling consistency across various components in the dashboard.
    
    ### Detailed summary
    - Replaced `Text` components with `<p>` in `csv-data-table.tsx`, `ContractDirectListingsPage.tsx`, and `ContractEnglishAuctionsPage.tsx`.
    - Changed `Heading` components to `<p>` in multiple files for consistency.
    - Updated button variants from `solid` to `default` in `marketplace-table.tsx`.
    - Removed unnecessary imports of `Text` and `Heading` from `tw-components` in several files.
    - Adjusted styling classes for better alignment and consistency.
    - Enhanced layout structure in the `ListingDrawer` and `CreateListingsForm` components.
    
    > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
    
    <!-- end pr-codex -->
    kien-ngo committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    453e45b View commit details
    Browse the repository at this point in the history