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 <Code /> component (ez mode) #4787

Merged
merged 1 commit into from
Oct 1, 2024

Commits on Oct 1, 2024

  1. [Dashboard] Remove <Code /> component (ez mode) (#4787)

    ## Problem solved
    
    Short description of the bug fixed or feature added
    
    <!-- start pr-codex -->
    
    ---
    
    ## PR-Codex overview
    This PR focuses on enhancing code readability by replacing instances of the `Code` component from Chakra UI with a new `InlineCode` component, which provides a consistent styling for inline code snippets across various files.
    
    ### Detailed summary
    - Added `InlineCode` component in `inline-code.tsx`.
    - Replaced `Code` with `InlineCode` in multiple components for improved consistency:
      - `ChainValidation`
      - `EngineCorsConfig`
      - `EngineIpAllowlistConfig`
      - `InteractiveAbiFunction`
      - `EngineAccessTokens`
      - `SnapshotUpload`
      - `UploadStep`
    
    > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
    
    <!-- end pr-codex -->
    kien-ngo committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    a2ce5f5 View commit details
    Browse the repository at this point in the history