diff --git a/web/app/components/root/root.jsx b/web/app/components/root/root.jsx index a1599cde..d8fb78cc 100644 --- a/web/app/components/root/root.jsx +++ b/web/app/components/root/root.jsx @@ -40,7 +40,8 @@ export default class Root extends Component { .catch(() => store.set('user', {})) .finally(() => { api.find({ url }) - .then(({ comments } = {}) => store.set('comments', comments)) + .then(({ comments = [] } = {}) => store.set('comments', comments)) + .catch(() => store.set('comments', [])) .finally(() => { this.setState({ loaded: true,