From 067623811cb2b49a2a15ccf9c82e3096b7a531c8 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sun, 29 Jun 2025 17:27:03 -0700 Subject: [PATCH] Fix spelling --- packages/webamp/js/components/DropTarget.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/webamp/js/components/DropTarget.tsx b/packages/webamp/js/components/DropTarget.tsx index ace68561..7295ed94 100644 --- a/packages/webamp/js/components/DropTarget.tsx +++ b/packages/webamp/js/components/DropTarget.tsx @@ -13,7 +13,7 @@ interface Props extends React.HTMLAttributes { windowId: WindowId; } -function supress(e: React.DragEvent) { +function suppress(e: React.DragEvent) { e.stopPropagation(); e.preventDefault(); e.dataTransfer.dropEffect = "link"; @@ -32,7 +32,7 @@ const DropTarget = (props: Props) => { const onDrop = useCallback( (e: React.DragEvent) => { - supress(e); + suppress(e); droppedFiles(e, windowId); // TODO: We could probably move this coordinate logic into the playlist. // I think that's the only place it gets used. @@ -49,9 +49,9 @@ const DropTarget = (props: Props) => { return (
);