Skip to content

Commit

Permalink
[PAY-2498] Fix multiple download warning in web (#7604)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjacobson authored Feb 15, 2024
1 parent e26dd70 commit 069ab6f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/web/src/components/track/DownloadSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
usePremiumContentPurchaseModal,
CommonState,
useWaitForDownloadModal,
tracksSocialActions as socialTracksActions,
toastActions
} from '@audius/common/store'
import { USDC } from '@audius/fixed-decimal'
Expand Down Expand Up @@ -139,13 +138,6 @@ export const DownloadSection = ({ trackId }: DownloadSectionProps) => {
trackIds,
quality
})
dispatch(
socialTracksActions.downloadTrack({
trackIds,
parentTrackId,
original: quality === DownloadQuality.ORIGINAL
})
)
const trackEvent: TrackEvent = make(Name.TRACK_PAGE_DOWNLOAD, {
id: parentTrackId ?? trackIds[0],
parent_track_id: parentTrackId
Expand Down

0 comments on commit 069ab6f

Please sign in to comment.