/* eslint-disable @typescript-eslint/camelcase */ import { h, VNode } from "preact"; import { BackupReducerProps, AnastasisClientFrame } from "./index"; export function ReviewPoliciesScreen(props: BackupReducerProps): VNode { const { reducer, backupState } = props; const authMethods = backupState.authentication_methods!; return ( {backupState.policies?.map((p, i) => { const policyName = p.methods .map((x, i) => authMethods[x.authentication_method].type) .join(" + "); return (

Policy #{i + 1}: {policyName}

Required Authentications:
); })}
); }