From 23854762391c368dc8fb727287440971e0619f5c Mon Sep 17 00:00:00 2001 From: robertchandler Date: Sun, 24 Mar 2024 10:56:32 -0700 Subject: [PATCH] Tidy even more --- ifs.ai/app/start/page.tsx | 85 +++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 40 deletions(-) diff --git a/ifs.ai/app/start/page.tsx b/ifs.ai/app/start/page.tsx index 451661f..fca1134 100644 --- a/ifs.ai/app/start/page.tsx +++ b/ifs.ai/app/start/page.tsx @@ -90,52 +90,57 @@ export default function Page() {

Connect with your inner selves.

{!imagesCaptured && ( - + <> + + + )} - - {imagesCaptured && !rantProcessed && ( + + {imagesCaptured && (

Now tell me about your problems...

- setRant(transcript)} - onEnd={() => { - window.localStorage.setItem(getRantKeyForId(id), rant); - setRantProcessed(true); - }} - /> + {!rantProcessed && ( + setRant(transcript)} + onEnd={() => { + window.localStorage.setItem(getRantKeyForId(id), rant); + setRantProcessed(true); + }} + /> + )}
{rant}
- {imageUrls.firefighter &&

Images generated

} +

{imageUrls.firefighter ? "Images generated" : "Generating images"}

)}