Skip to content

Commit

Permalink
fix: disable loader on dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Jan 16, 2025
1 parent f0bea2f commit 30cad52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-ui/src/components/toast/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const Toast: React.FC<ToastProps> = (props: ToastProps) => {
onMouseDown={onMouseDownHandler}
>
<div className="toast-header">
<Loader />
{!isDragging && <Loader />}
{hasWalletObject && props.walletInfo && <>{parseWallet(props.label, props.walletInfo)}</>}
{!hasWalletObject && <p className="toast-label">{props.label}</p>}
{!isMobileOS(window) && props.openWalletAction && (
Expand Down

0 comments on commit 30cad52

Please sign in to comment.