do not use selection, no need

This commit is contained in:
Sebastian 2022-06-03 12:17:51 -03:00
parent d2563c1647
commit 78b5518185
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -78,14 +78,12 @@ export function SecretSelectionScreen(): VNode {
hideNext="Please select version to recover" hideNext="Please select version to recover"
> >
<p>Found versions:</p> <p>Found versions:</p>
{policies.map((x) => ( {policies.map((version) => (
<div> <div>
{x.policy_hash} / {x.secret_name} {version.policy_hash} / {version.secret_name}
<button <button
onClick={async () => { onClick={async () => {
await reducer.transition("select_version", { await reducer.transition("select_version", version);
selection: x,
});
}} }}
> >
Recover Recover