mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
refactor: run eslint on the whole project
This commit is contained in:
@@ -63,7 +63,7 @@ export const useEditor = (
|
||||
// this is required for the drag/drop to work properly
|
||||
// in the editor.
|
||||
function onDragEnter(event: DragEvent) {
|
||||
if (!!editor?.view.dragging) {
|
||||
if (editor?.view.dragging) {
|
||||
event.preventDefault();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user