Skip to content

Fix pricing calculator rendering - #723

Merged
AnnaXWang merged 1 commit into
mainfrom
hypeship/fix-pricing-calculator
Oct 28, 2026
Merged

AnnaXWang merged 1 commit into
mainfrom
hypeship/fix-pricing-calculator

Conversation

@ehfeng

@ehfeng ehfeng commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

The pricing calculator renders an empty section because MintlifyComponents is undefined in the current Mintlify renderer. Remove that obsolete binding so Card and Columns resolve through MDX and the calculator renders again.

Validation: reproduced the runtime error on the live page; verified the fix in the local Mintlify preview with browser checks for rendering, plan totals, usage credits, browser rates, GPU plan eligibility, enterprise pricing, and URL updates. mint broken-links and git diff --check pass.


Note

Low Risk
Single-line removal in a docs snippet with no auth, data, or billing logic changes—only fixes how layout components are resolved at render time.

Overview
Fixes a blank pricing calculator on the docs pricing page by removing the const { Card, Columns } = MintlifyComponents line in snippets/calculator.jsx.

That binding referenced MintlifyComponents, which is undefined in the current Mintlify renderer and caused the snippet to fail at runtime. Card and Columns in the JSX are unchanged and are expected to resolve from the MDX environment (same pattern as other docs pages), so the calculator UI can render again.

Reviewed by Cursor Bugbot for commit 4b3a54c. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
Kernel 🟢 Ready View Preview Oct 26, 2026, 11:57 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@ehfeng
ehfeng marked this pull request as ready for review October 27, 2026 00:26
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T00:27:25.608770Z 4b3a54c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ehfeng

ehfeng commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

/breakglass fixing pricing calculator, no potential impact

@ehfeng

ehfeng commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

/breakglass fixing broken docs

@AnnaXWang
AnnaXWang merged commit d326e46 into main Oct 28, 2026
3 checks passed
@AnnaXWang
AnnaXWang deleted the hypeship/fix-pricing-calculator branch October 28, 2026 01:10
@ehfeng ehfeng mentioned this pull request Oct 28, 2026
6 tasks done

This branch was successfully deployed

1 active deployment
staging — 4b3a54c5 Deployed Oct 26, 2026 by mintlify[bot]
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.

2 participants