Skip to content

Commit

Permalink
fix function call (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlmn committed Jun 21, 2022
1 parent 602e446 commit 1b219a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/containers/block/youtubeLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const Add = (props: { db: dbTypes.LoadedDb; block: dbTypes.BlockYoutubeIn
configState,
)(data)
.then((_) => {
queries.mergeBlock(db.instance, block.id, { dataId: newId });
queries.mergeBlock(db.instance, { id: block.id, dataId: newId });
});
};

Expand Down

0 comments on commit 1b219a6

Please sign in to comment.