Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const Receipt = props => {
const { history, onClose } = props;
const talonProps = useReceipt({
history,
onClose
});
const {
handleCreateAccount,
handleViewOrderDetails,
isSignedIn
} = talonProps;
const classes = mergeClasses(defaultClasses, props.classes);
return (
<div>
<div>
<h2>Thank you for your purchase!</h2></div></div>