supabase icon indicating copy to clipboard operation
supabase copied to clipboard

NaN in Price Slider Table

Open blaudroid opened this issue 6 months ago • 1 comments

Bug report

  • [x] I confirm this is a bug with Supabase, not with my own application.
  • [x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

When you are on the pricing page, there is a small table where it has a slider that you can adjust thus giving you a price dynamically. When moving the slider all the way to the "contact us" step, the pricing on the left shows "NaN".

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to https://supabase.com/pricing
  2. Scroll down to "Scale compute up to 64 cores and 256 GB RAM"
  3. Slide the slider all the way to the "Contact Us" step.

Expected behavior

Another description for the pricing and not the $NaN.

Screenshots

Image

System information

  • OS: macOS
  • Browser (if applies) chrome
  • Version of supabase-js: not necessary
  • Version of Node.js: not necessary

Additional context

Should be pretty obvious.

blaudroid avatar Jun 17 '25 05:06 blaudroid

Hi! I was able to reproduce this issue on Chrome (macOS) and Safari (macOS).
The $NaN appears when the slider hits the "Contact Us" limit, likely due to a missing price value for that tier.

Happy to help debug or open a PR if this part of the codebase is open for contributions!

StrungPattern-coder avatar Jun 17 '25 06:06 StrungPattern-coder

Hii , I was able to reproduce this issue on chrome (windows) , edge(windows) and chrome( macos). assign me i can fix that

vibhu2208 avatar Jun 19 '25 11:06 vibhu2208

Hi all, This one seems fixed now and NaN is not appearing on the slider anymore. I'll close this one but thanks for your help!

Hallidayo avatar Aug 19 '25 16:08 Hallidayo