Skip to content

Commit

Permalink
Include hasCursor dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Mar 8, 2024
1 parent a3322d0 commit 86278b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/useMarkdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function useMarkdown({

setHtml(updatedHtml);
})();
}, [preparedMarkdown]);
}, [hasCursor, preparedMarkdown]);

return {
html,
Expand Down

0 comments on commit 86278b9

Please sign in to comment.