import React from 'react';
import { Input, AccessoryIcon } from 'indigo-react';
import View from 'components/View';
import { useTicketInput } from 'components/Inputs';
import { ForwardButton } from 'components/Buttons';
import { useLocalRouter } from 'lib/LocalRouter';
export default function Verify({ STEP_NAMES, newWallet }) {
const { push } = useLocalRouter();
const ticketInput = useTicketInput({
name: 'ticket',
label: 'New master ticket',
});
const ticket = ticketInput.data;
const next = () => {
push(STEP_NAMES.RETICKET);
};
const matches = newWallet.value.wallet.ticket === ticket;
const displayTicketStatus = matches ? (
) : (
);
return (
Prove that you downloaded the new secrets!
Reticket
);
}