stale state text for convo
This commit is contained in:
@@ -275,22 +275,31 @@ 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 */}
|
{/* have one row, but just translate it along y downward to put it in it's own place */}
|
||||||
|
|
||||||
<span
|
<span
|
||||||
className="flex flex-row flex-nowrap pb-[10rem] py-[5rem]
|
className="flex flex-row flex-nowrap pb-[10rem] py-[5rem]
|
||||||
overflow-auto min-h-max shadow-xl bg-slate-50 rounded"
|
overflow-auto min-h-max shadow-xl bg-slate-50 rounded"
|
||||||
>
|
>
|
||||||
{audioClips.reverse().map((audClip, index) => {
|
{audioClips?.length > 0 ? (
|
||||||
const restAudioClips = audioClips.slice(index);
|
audioClips.reverse().map((audClip, index) => {
|
||||||
return (
|
const restAudioClips = audioClips.slice(index);
|
||||||
<TimelineAudioClip
|
return (
|
||||||
key={audClip.id}
|
<TimelineAudioClip
|
||||||
index={index}
|
key={audClip.id}
|
||||||
audioClip={audClip}
|
index={index}
|
||||||
convoId={props.conversationId}
|
audioClip={audClip}
|
||||||
audioClipsToPlay={restAudioClips}
|
convoId={props.conversationId}
|
||||||
/>
|
audioClipsToPlay={restAudioClips}
|
||||||
);
|
/>
|
||||||
})}
|
);
|
||||||
|
})
|
||||||
|
) : (
|
||||||
|
<span className="text-slate-300 mx-auto my-auto text-center">
|
||||||
|
Please get this conversation started <br></br> by pressing and
|
||||||
|
holding{" "}
|
||||||
|
<span className="text-orange-500 font-semibold">R.</span>
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
|
||||||
<span ref={endOfTimeline}></span>
|
<span ref={endOfTimeline}></span>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user