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

Clean Up ProductToggle Component #251

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hanifisenturk
Copy link

Hi!,

I've made some updates to ProductToggle component to make it easier to work with:

  • Added a productConfig object to keep all our product info in one place
  • Simplified the checks for each product
  • The Product type now comes from productConfig, so it'll always stay in sync

Main win: Adding or changing products is now way simpler – just update productConfig and you're good to go.

I've tested it out and everything's working as expected. Let me know what you think! 🚀

Copy link

vercel bot commented Aug 16, 2024

@hanifisenturk is attempting to deploy a commit to the Upstash Team on Vercel.

A member of the Team first needs to authorize it.

@enesakar enesakar requested a review from ademilter October 9, 2024 16:34
Copy link

vercel bot commented Oct 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
website ✅ Ready (Inspect) Visit Preview Oct 30, 2024 1:54pm

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.

1 participant