removing save/restore session: confusing and maybe dangerous
This commit is contained in:
parent
3ce27caf15
commit
79baa20584
@ -177,7 +177,7 @@ export function Sidebar({ mobile }: Props): VNode {
|
|||||||
<span class="menu-item-label"><Translate>Truth Paying</Translate></span>
|
<span class="menu-item-label"><Translate>Truth Paying</Translate></span>
|
||||||
</div>
|
</div>
|
||||||
</li> */}
|
</li> */}
|
||||||
<li>
|
{/* <li>
|
||||||
<div class="buttons ml-4">
|
<div class="buttons ml-4">
|
||||||
<button
|
<button
|
||||||
class="button is-primary is-right"
|
class="button is-primary is-right"
|
||||||
@ -186,7 +186,7 @@ export function Sidebar({ mobile }: Props): VNode {
|
|||||||
Save backup session
|
Save backup session
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li> */}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
) : (
|
) : (
|
||||||
reducer.currentReducerState?.reducer_type === "recovery" && (
|
reducer.currentReducerState?.reducer_type === "recovery" && (
|
||||||
@ -265,7 +265,7 @@ export function Sidebar({ mobile }: Props): VNode {
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
{/* <li>
|
||||||
<div class="buttons ml-4">
|
<div class="buttons ml-4">
|
||||||
<button
|
<button
|
||||||
class="button is-primary is-right"
|
class="button is-primary is-right"
|
||||||
@ -274,7 +274,7 @@ export function Sidebar({ mobile }: Props): VNode {
|
|||||||
Save recovery session
|
Save recovery session
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li> */}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
@ -285,7 +285,7 @@ export function Sidebar({ mobile }: Props): VNode {
|
|||||||
class="button is-danger is-right"
|
class="button is-danger is-right"
|
||||||
onClick={() => reducer.reset()}
|
onClick={() => reducer.reset()}
|
||||||
>
|
>
|
||||||
Reset session
|
Start again
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -50,14 +50,14 @@ export function StartScreen(): VNode {
|
|||||||
<span>Recover a secret</span>
|
<span>Recover a secret</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<FileButton
|
{/* <FileButton
|
||||||
label="Restore a session"
|
label="Restore a session"
|
||||||
onChange={(content) => {
|
onChange={(content) => {
|
||||||
if (content?.type === "application/json") {
|
if (content?.type === "application/json") {
|
||||||
reducer.importState(content.content);
|
reducer.importState(content.content);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/> */}
|
||||||
|
|
||||||
{/* <button class="button">
|
{/* <button class="button">
|
||||||
<div class="icon"><i class="mdi mdi-file" /></div>
|
<div class="icon"><i class="mdi mdi-file" /></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user