stale state text for convo
This commit is contained in:
@@ -275,11 +275,13 @@ 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 ? (
|
||||||
|
audioClips.reverse().map((audClip, index) => {
|
||||||
const restAudioClips = audioClips.slice(index);
|
const restAudioClips = audioClips.slice(index);
|
||||||
return (
|
return (
|
||||||
<TimelineAudioClip
|
<TimelineAudioClip
|
||||||
@@ -290,7 +292,14 @@ export default function ViewConvo(props: { conversationId: string }) {
|
|||||||
audioClipsToPlay={restAudioClips}
|
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