Skip to content

Conversation

@Sjain020188
Copy link
Contributor

@Sjain020188 Sjain020188 commented Oct 13, 2019

…tsx to use overmind

What kind of change does this PR introduce?

This is part of the requested refactor for hacktoberfest as mentioned #2621
@Saeris @christianalfoni

What is the current behavior?

Previously it was utilizing inject and hooksObserver from app/componentConnectors.

What is the new behavior?

uses useOvermind

What steps did you take to test this? This is required before we can merge.

yarn lint
yarn test
yarn typecheck

Checklist

  • Documentation - N/A
  • [ X] Testing
  • [ X] Ready to be merged
  • Added myself to contributors table

@vercel vercel bot temporarily deployed to staging October 13, 2019 12:47 Inactive
@vercel
Copy link

vercel bot commented Oct 13, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/codesandbox/codesandbox-client/1jfs782up
🌍 Preview: https://codesandbox-client-git-fork-sjain020188-payment-info-component.codesandbox1.now.sh

@Saeris Saeris added Hacktoberfest 🔨 Refactor 🧠 Overmind Indicates that this is related to the app's State Management labels Oct 14, 2019
@CompuIves
Copy link
Member

Hello! Thanks for the contribution! This looks good to me, could you also test the flow you've changed so we're sure it works? Again, thanks for the contribution!

@christianalfoni
Copy link
Contributor

christianalfoni commented Oct 15, 2019

@CompuIves Tried to test this, but getting errors on duplicate objects, live/test mode etc. from Stripe. Tried both using test card and my own card, getting same error. It does load everything and passes the token correctly, so I would say this is okay!

I am merging it in, but we should test this after deployment

@christianalfoni christianalfoni merged commit f049eae into codesandbox:master Oct 15, 2019
import { PreviewSettings } from './EditorPageSettings/PreviewSettings';
import { CodeFormatting } from './CodeFormatting';
import { PaymentInfo } from './PaymentInfo';
import PaymentInfo from './PaymentInfo';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait does this work? @christianalfoni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧠 Overmind Indicates that this is related to the app's State Management 🔨 Refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants