Browse Source

fix: toString()

develop
Ezerous 4 years ago
parent
commit
00e5c3cbc1
  1. 2
      packages/concordia-app/src/components/PostList/PostListRow/index.jsx

2
packages/concordia-app/src/components/PostList/PostListRow/index.jsx

@ -120,7 +120,7 @@ const PostListRow = (props) => {
const { stores } = orbit; const { stores } = orbit;
const postsDb = Object.values(stores).find((store) => store.dbname === POSTS_DATABASE); const postsDb = Object.values(stores).find((store) => store.dbname === POSTS_DATABASE);
postsDb postsDb
.put(postId, { .put(postId.toString(), {
[POST_CONTENT]: editedPostContent, [POST_CONTENT]: editedPostContent,
}) })
.then(() => { .then(() => {

Loading…
Cancel
Save