chore(prettier): full repo linting and code reformatting once and for all (#3627)
This commit is contained in:
1 parent
01500a2d4c
commit
9045ddaedc
656 files changed
+21737
-20628
No files matched your search
@@ -7,8 +7,7 @@ import { HTML5Backend } from 'react-dnd-html5-backend';
|
||||
|
||||
// TODO: this is false when it should not be :thinking:
|
||||
const isTouchDevice =
|
||||
typeof window !== `undefined` &&
|
||||
!!('ontouchstart' in window || navigator.maxTouchPoints);
|
||||
typeof window !== `undefined` && !!('ontouchstart' in window || navigator.maxTouchPoints);
|
||||
|
||||
/**
|
||||
* Relevant:
|
||||
@@ -25,7 +24,10 @@ function DragAndDropProvider({ children }) {
|
||||
console.log('using... touch backend?', isTouchDevice);
|
||||
|
||||
return (
|
||||
<DndProvider backend={backend} opts={opts}>
|
||||
<DndProvider
|
||||
backend={backend}
|
||||
opts={opts}
|
||||
>
|
||||
{children}
|
||||
</DndProvider>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user