Skip to content

Commit

Permalink
chore: misc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhart1o1 committed Jan 13, 2024
1 parent 82f108b commit 2d7dece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/components/upload-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export default function FileUpload({
}
}

const handleDragOver = (event: React.DragEvent<HTMLDivElement>) => {
const handleDragOver = async (event: React.DragEvent<HTMLDivElement>) => {
event.preventDefault()
handleDragOver(event)
await handleDragOver(event)
}

const handleDrop = async (event: React.DragEvent<HTMLDivElement>) => {
Expand Down

0 comments on commit 2d7dece

Please sign in to comment.