Skip to content

Conversation

@omarkdev
Copy link

Quando se tem um tweet já digitado, ao trocar de template, o novo template não vem com o tweet digitado, porém a mensagem fica digitado no campo. Este PR tem como objetivo corrigir isso: ao ter um tweet já digitado, quando trocar de template, o novo template já vem com o que está digitado.

Copy link
Owner

@IgorHalfeld IgorHalfeld left a comment

Choose a reason for hiding this comment

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

Achei um bug xD

gif

@omarkdev
Copy link
Author

omarkdev commented Oct 30, 2020 via email

@omarkdev
Copy link
Author

@IgorHalfeld corrigido! A solução foi no handleTweetMessageChange usar o parametro msg para definir o search ao invés do tweet.msg (o que para mim faz mais sentido também, pois acredito que o search deva representar o que está digitado na caixa e não o valor padrão de algo)

@IgorHalfeld
Copy link
Owner

image

@IgorHalfeld IgorHalfeld merged commit 5ef5b0f into IgorHalfeld:next Nov 3, 2020
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