Skip to content

Commit

Permalink
Merge c7eaefb into 751b332
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeycw committed Nov 19, 2020
2 parents 751b332 + c7eaefb commit a638a16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks/useToast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ export function useToast(props: ToastProps) {
}

function onDragMove(e: MouseEvent | TouchEvent) {
e.preventDefault();

const toast = toastRef.current!;

if (drag.canDrag) {
Expand Down

0 comments on commit a638a16

Please sign in to comment.