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
TypeError: Cannot read property 'getLength' of undefined
at default (./universal/utils/draftjs/truncateCard.js:38:21)
at Component (./universal/modules/email/components/Card/Card.js:46:23)
at _constructComponentWithoutOwner (../node_modules/react-dom/lib/ReactCompositeComponent.js:308)
at _constructComponent (../node_modules/react-dom/lib/ReactCompositeComponent.js:284)
at mountComponent (../node_modules/react-dom/lib/ReactCompositeComponent.js:187)
...
(45 additional frame(s) were not displayed)
The text was updated successfully, but these errors were encountered:
Oh this is really, really good.
Converting a card to plaintext adds in line breaks, so the character count is greater than it would be if you loop through each block & count the characters. the magical thing is that you stumbled upon this with a card with the perfect number of characters where that made a difference.
https://sentry.io/parabol/action-production/issues/339304805/
The text was updated successfully, but these errors were encountered: