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

Fix Duplicate Text When Rendering On Server #21

Merged
merged 3 commits into from
Oct 26, 2016
Merged

Conversation

pablosichert
Copy link
Owner

#20 @codejet, attributed you for the commit, but changed it slightly so it doesn't cause a client/server mismatch when the app hydrates on the client.

@codejet
Copy link
Contributor

codejet commented Oct 26, 2016

Thanks a lot for taking action so fast @pablosichert

@pablosichert pablosichert merged commit 1f53be4 into master Oct 26, 2016
@pablosichert pablosichert deleted the fix/duplicate-text branch October 26, 2016 12:31
@pablosichert
Copy link
Owner Author

Thanks for reporting! Fix is available as of v2.0.1

@@ -59,6 +59,12 @@ describe('<Truncate />', () => {
Some text inside of here
</Truncate>
);

expect(
Copy link
Contributor

Choose a reason for hiding this comment

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

expect(markup, 'to contain', 'Some text inside of here') :)

Copy link
Owner Author

Choose a reason for hiding this comment

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

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.

None yet

3 participants