whole queue working with the timeline

This commit is contained in:
Arjun Patel
2022-02-06 13:25:58 -08:00
parent 19a706fd93
commit 6fab106512
3 changed files with 5 additions and 3 deletions
@@ -277,12 +277,14 @@ export default function ViewConvo(props: { conversationId: string }) {
{/* have one row, but just translate it along y downward to put it in it's own place */}
<span className="flex flex-row flex-nowrap pb-[10rem] py-[5rem] overflow-auto min-h-max">
{audioClips.reverse().map((audClip, index) => {
const restAudioClips = audioClips.slice(index);
return (
<TimelineAudioClip
key={audClip.id}
index={index}
audioClip={audClip}
convoId={props.conversationId}
audioClipsToPlay={restAudioClips}
/>
);
})}