From 2df1be85a86f4261a5c8f083ee24d142f925459e Mon Sep 17 00:00:00 2001 From: James Muscat Date: Wed, 12 Jun 2024 17:06:01 +0100 Subject: [PATCH] Rough and ready delay for analysis window. --- src/components/GeneratorButton.js | 6 +- .../analysis/components/AnalysisScreen.js | 3 - src/modules/analysis/components/FlagPanel.js | 4 +- src/modules/analysis/components/Menu.js | 1 + src/pages/Analysis.js | 96 +++++++++++++++---- 5 files changed, 84 insertions(+), 26 deletions(-) diff --git a/src/components/GeneratorButton.js b/src/components/GeneratorButton.js index c32bebc..94e2ade 100644 --- a/src/components/GeneratorButton.js +++ b/src/components/GeneratorButton.js @@ -3,7 +3,7 @@ import { Download } from "styled-icons/material"; import { useConnectionService } from "../ConnectionServiceProvider"; import { Button } from "./Button"; -const GeneratorButton = ({ children, finishMessage, progressMessage, sessionIndex, startMessage, uuid }) => { +const GeneratorButton = ({ children, className, finishMessage, progressMessage, sessionIndex, startMessage, uuid }) => { const [isGenerating, setGenerating] = useState(false); const cs = useConnectionService(); @@ -43,6 +43,7 @@ const GeneratorButton = ({ children, finishMessage, progressMessage, sessionInde return (