From 00e5c3cbc1f937c9faa894a925c3567fb67458e8 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Fri, 5 Mar 2021 15:32:41 +0200 Subject: [PATCH] fix: toString() --- .../concordia-app/src/components/PostList/PostListRow/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/concordia-app/src/components/PostList/PostListRow/index.jsx b/packages/concordia-app/src/components/PostList/PostListRow/index.jsx index c06d258..d634456 100644 --- a/packages/concordia-app/src/components/PostList/PostListRow/index.jsx +++ b/packages/concordia-app/src/components/PostList/PostListRow/index.jsx @@ -120,7 +120,7 @@ const PostListRow = (props) => { const { stores } = orbit; const postsDb = Object.values(stores).find((store) => store.dbname === POSTS_DATABASE); postsDb - .put(postId, { + .put(postId.toString(), { [POST_CONTENT]: editedPostContent, }) .then(() => {