We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Under this path
src/pods/canvas/use-drop-image-from-desktop.tsx
Inside the hook, we've got this function
const isDropImageFile = (e: React.DragEvent<HTMLDivElement>) => { return ( e.dataTransfer.items.length > 0 && e.dataTransfer.items[0].kind === 'file' && e.dataTransfer.items[0].type.startsWith('image/') ); };
We should move it to canvas.util or similar (or drop-image.utils.ts) and add unit test support for this
The text was updated successfully, but these errors were encountered:
El-Mito-de-Giralda
Successfully merging a pull request may close this issue.
Under this path
src/pods/canvas/use-drop-image-from-desktop.tsx
Inside the hook, we've got this function
We should move it to canvas.util or similar (or drop-image.utils.ts) and add unit test support for this
The text was updated successfully, but these errors were encountered: