From d44d0c121ca30879a53c5316eefdb3bee30cceb1 Mon Sep 17 00:00:00 2001 From: Lucemans Date: Thu, 22 Aug 2024 19:38:06 +0200 Subject: [PATCH] Update download urls --- web/src/components/SampleList.tsx | 2 +- web/src/components/SampleTray.tsx | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/web/src/components/SampleList.tsx b/web/src/components/SampleList.tsx index b53d821..410e9fa 100644 --- a/web/src/components/SampleList.tsx +++ b/web/src/components/SampleList.tsx @@ -16,7 +16,7 @@ export const SampleList: FC<{ pack: string }> = ({ pack }) => {

Samples

diff --git a/web/src/components/SampleTray.tsx b/web/src/components/SampleTray.tsx index 65fa5ea..46427c1 100644 --- a/web/src/components/SampleTray.tsx +++ b/web/src/components/SampleTray.tsx @@ -1,14 +1,26 @@ import { FC } from 'react'; -import { FaPlay } from 'react-icons/fa'; +import { FaDownload, FaPlay } from 'react-icons/fa'; -export const SampleTray: FC<{ sample: string }> = ({ sample }) => { +export const SampleTray: FC<{ packId: string; sampleId: string }> = ({ + packId, + sampleId, +}) => { return (
  • +
    +

    {sampleId}

    +
    -

    {sample}

    + + +
  • );