From 79baa20584010c8e44e772696670d00f4811b44c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 25 Sep 2022 11:33:19 -0300 Subject: [PATCH] removing save/restore session: confusing and maybe dangerous --- .../anastasis-webui/src/components/menu/SideBar.tsx | 10 +++++----- .../anastasis-webui/src/pages/home/StartScreen.tsx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/anastasis-webui/src/components/menu/SideBar.tsx b/packages/anastasis-webui/src/components/menu/SideBar.tsx index ee394da83..4c1d085ee 100644 --- a/packages/anastasis-webui/src/components/menu/SideBar.tsx +++ b/packages/anastasis-webui/src/components/menu/SideBar.tsx @@ -177,7 +177,7 @@ export function Sidebar({ mobile }: Props): VNode { Truth Paying */} -
  • + {/*
  • -
  • + */} ) : ( reducer.currentReducerState?.reducer_type === "recovery" && ( @@ -265,7 +265,7 @@ export function Sidebar({ mobile }: Props): VNode { -
  • + {/*
  • -
  • + */} ) )} @@ -285,7 +285,7 @@ export function Sidebar({ mobile }: Props): VNode { class="button is-danger is-right" onClick={() => reducer.reset()} > - Reset session + Start again diff --git a/packages/anastasis-webui/src/pages/home/StartScreen.tsx b/packages/anastasis-webui/src/pages/home/StartScreen.tsx index 03399cfba..b9c4e57b7 100644 --- a/packages/anastasis-webui/src/pages/home/StartScreen.tsx +++ b/packages/anastasis-webui/src/pages/home/StartScreen.tsx @@ -50,14 +50,14 @@ export function StartScreen(): VNode { Recover a secret - { if (content?.type === "application/json") { reducer.importState(content.content); } }} - /> + /> */} {/*