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

TypeError: Cannot read property 'size' of undefined #285

Open
richardolsson opened this issue May 31, 2021 · 0 comments
Open

TypeError: Cannot read property 'size' of undefined #285

richardolsson opened this issue May 31, 2021 · 0 comments

Comments

@richardolsson
Copy link
Member

https://sentry.io/organizations/zetkin-foundation/issues/2422721573/?referrer=github_plugin

TypeError: Cannot read property 'size' of undefined
  File "/var/app/build/app/components/pages/dashboard/DashboardPage.js", line 52, in mapStateToProps
    hasMemberships: !!state.getIn(['orgs', 'followingList', 'items']).size // error when logged out
  File "/var/app/build/app/server/app.js", line 396, in null.<anonymous>
    let html = _server2.default.renderToString(_react2.default.createElement(_IntlReduxProvider2.default, { store: req.store }, _react2.default.createElement(_reactRouter.RouterContext, props)));
  File "/var/app/build/app/server/app.js", line 395, in renderReactPage
    (0, _reactRouter.match)({ routes: _routes2.default, location: req.url }, (err, redirect, props) => {
  File "/var/app/build/app/server/app.js", line 387, in null.<anonymous>
    renderReactPage(_App2.default, req, res);
  File "/var/app/build/app/server/app.js", line 314, in app.use
    next();
...
(107 additional frame(s) were not displayed)

TypeError: Cannot read property 'size' of undefined
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

No branches or pull requests

1 participant