diff options
Diffstat (limited to 'src/view/com/post/PostText.tsx')
-rw-r--r-- | src/view/com/post/PostText.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/view/com/post/PostText.tsx b/src/view/com/post/PostText.tsx index 4e8761eb5..44f9e4d20 100644 --- a/src/view/com/post/PostText.tsx +++ b/src/view/com/post/PostText.tsx @@ -23,9 +23,7 @@ export const PostText = observer(function PostText({ } const newModel = new PostModel(store, uri) setModel(newModel) - newModel - .setup() - .catch(err => store.log.error('Failed to fetch post', err.toString())) + newModel.setup().catch(err => store.log.error('Failed to fetch post', err)) }, [uri, model?.uri, store]) // loading |