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

Force update on new post as workaround for setState not being updated #12

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

mayaah
Copy link
Owner

@mayaah mayaah commented Jul 25, 2019

Realized setState not updating contentState idk if it's me but used workaround found here facebookarchive/draft-js#1702 (sort of but idea of forcing an update)

Will at least fix https://sentry.io/organizations/critique-connect/issues/1126458628/?project=1457803&query=is%3Aunresolved&statsPeriod=14d lol

@mayaah mayaah merged commit cf13021 into master Jul 25, 2019
@mayaah mayaah deleted the fix/new-post branch July 25, 2019 23:58
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