From bbde2a9bb9fcb8d008b67a4382b15864a9ef2e9b Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 3 Oct 2022 18:26:37 -0300
Subject: fix: showing start again in the last main screen

---
 .../src/pages/home/RecoveryFinishedScreen.tsx         | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

(limited to 'packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx')

diff --git a/packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx b/packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx
index c8615da14..62ac410a2 100644
--- a/packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx
+++ b/packages/anastasis-webui/src/pages/home/RecoveryFinishedScreen.tsx
@@ -95,11 +95,30 @@ export function RecoveryFinishedScreen(): VNode {
           <span>Download content</span>
         </a>
       </div>
+
       {plainText ? (
         <div class="block">
           <QR text={secret} />
         </div>
       ) : undefined}
+
+      <div
+        style={{
+          display: "flex",
+          justifyContent: "center",
+        }}
+      >
+        <p>
+          <div class="buttons ml-4">
+            <button
+              class="button is-primary is-right"
+              onClick={() => reducer.reset()}
+            >
+              Start again
+            </button>
+          </div>
+        </p>
+      </div>
     </AnastasisClientFrame>
   );
 }
-- 
cgit v1.2.3

