Skip to content

Commit

Permalink
fix drag and drop to category
Browse files Browse the repository at this point in the history
  • Loading branch information
taniarascia committed Oct 16, 2019
1 parent 972f203 commit 9aaf14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/AppSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ const AppSidebar: React.FC = () => {
onDrop={event => {
event.preventDefault()

_addCategoryToNote(category.id, event.dataTransfer.getData('noteId'))
_addCategoryToNote(category.id, event.dataTransfer.getData('text'))
}}
onDragOver={allowDrop}
>
Expand Down

0 comments on commit 9aaf14f

Please sign in to comment.