-
Notifications
You must be signed in to change notification settings - Fork 621
[TOOL-3681] Portal: Fix code identation in reference pages #6461
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6461 +/- ##
=======================================
Coverage 54.81% 54.81%
=======================================
Files 875 875
Lines 54851 54851
Branches 3736 3735 -1
=======================================
Hits 30066 30066
Misses 24690 24690
Partials 95 95
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on improving code readability and fixing a typo in the console log message, as well as adjusting the CSS class for better text formatting in a component.
### Detailed summary
- In `packages/thirdweb/src/react/core/utils/wallet.ts`, the console log message was changed from `"Walelt name"` to `"wallet name"` for clarity.
- In `apps/portal/src/components/Document/Code.tsx`, the CSS class was modified from `rounded-lg border bg-card font-mono text-sm leading-relaxed` to `whitespace-pre rounded-lg border bg-card font-mono text-sm leading-relaxed` to enhance text formatting.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
078b05b to
91194ce
Compare

PR-Codex overview
This PR focuses on two main changes: correcting a typo in the console log message in
wallet.tsand modifying theCode.tsxcomponent to allow for whitespace preservation in the rendered code block.Detailed summary
wallet.ts, changed the console log message from "Walelt name" to "wallet name".Code.tsx, updated theclassNameto includewhitespace-prefor preserving whitespace in the code block.