refactor: run eslint on the whole project

This commit is contained in:
thecodrr
2022-08-27 15:23:11 +05:00
parent e898ef5d86
commit 15f5fcd521
378 changed files with 52481 additions and 20809 deletions

View File

@@ -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;
}