import { Fragment } from 'inferno'; import { useBackend } from '../backend'; import { Box, Button, Section } from '../components'; export const KeycardAuth = props => { const { act, data } = useBackend(props); return (
{data.waiting === 1 && ( Waiting for another device to confirm your request... )} {data.waiting === 0 && ( {!!data.auth_required && (
); };