You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provavelmente está acontecendo porque estou tratando a apresentação do componente DirectPayment, ocultando no "re-render" se o status estiver loading == true.
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in CreditCard (created by DirectPayment/Forms/Payment)
in div (created by Context.Consumer)
in StyledComponent (created by Col)
in Col (created by DirectPayment/Forms/Payment)
in div (created by Context.Consumer)
in StyledComponent (created by Row)
in Row (created by DirectPayment/Forms/Payment)
in div (created by DirectPayment/Forms/Payment)
in DirectPayment/Forms/Payment (created by DirectPayment)
in div (created by Context.Consumer)
in StyledComponent (created by styled.div)
in styled.div (created by DirectPayment)
in div (created by Context.Consumer)
in StyledComponent (created by styled.div)
in styled.div (created by DirectPayment)
in LoadLibrary (created by DirectPayment)
in DirectPayment (created by Checkout)
The text was updated successfully, but these errors were encountered:
Ao tentar gerar um pagamento ele estoura um erro. tem que verificar se o componente está montado.
Provavelmente está acontecendo porque estou tratando a apresentação do componente DirectPayment, ocultando no "re-render" se o status estiver
loading == true
.pagseguro-react/src/DirectPayment/Forms/Payment.js
Line 175 in c3a41b2
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in CreditCard (created by DirectPayment/Forms/Payment)
in div (created by Context.Consumer)
in StyledComponent (created by Col)
in Col (created by DirectPayment/Forms/Payment)
in div (created by Context.Consumer)
in StyledComponent (created by Row)
in Row (created by DirectPayment/Forms/Payment)
in div (created by DirectPayment/Forms/Payment)
in DirectPayment/Forms/Payment (created by DirectPayment)
in div (created by Context.Consumer)
in StyledComponent (created by styled.div)
in styled.div (created by DirectPayment)
in div (created by Context.Consumer)
in StyledComponent (created by styled.div)
in styled.div (created by DirectPayment)
in LoadLibrary (created by DirectPayment)
in DirectPayment (created by Checkout)
The text was updated successfully, but these errors were encountered: