From 4b4db3802a93f0a8a5d0acc061af245be4498f46 Mon Sep 17 00:00:00 2001
From: Fred Carlsen <fred@sjelfull.no>
Date: Wed, 12 Dec 2018 15:51:51 +0100
Subject: Add esc support

---
 packages/website/ts/@next/components/modals/modal_contact.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'packages/website/ts/@next/components/modals/modal_contact.tsx')

diff --git a/packages/website/ts/@next/components/modals/modal_contact.tsx b/packages/website/ts/@next/components/modals/modal_contact.tsx
index cd6335103..a63ab50c0 100644
--- a/packages/website/ts/@next/components/modals/modal_contact.tsx
+++ b/packages/website/ts/@next/components/modals/modal_contact.tsx
@@ -47,6 +47,7 @@ export class ModalContact extends React.Component<Props> {
                 <DialogOverlay
                     style={{ background: 'rgba(0, 0, 0, 0.75)' }}
                     isOpen={isOpen}
+                    onDismiss={onDismiss}
                 >
                     <StyledDialogContent>
                         <Form onSubmit={this._onSubmit.bind(this)} isSuccessful={isSuccessful}>
@@ -101,7 +102,7 @@ export class ModalContact extends React.Component<Props> {
                             </InputRow>
                         </Form>
                         <Confirmation isSuccessful={isSuccessful}>
-                        <Icon name="checkmark" size="large" />
+                            <Icon name="checkmark" size="large" />
                             <Heading color={colors.textDarkPrimary} size={34} asElement="h2">Thanks for contacting us.</Heading>
                             <Paragraph isMuted={true} color={colors.textDarkPrimary}>We'll get back to you soon. If you need quick support in the meantime, reach out to the 0x team on Discord.</Paragraph>
                             <Button onClick={this.props.onDismiss}>Done</Button>
-- 
cgit v1.2.3

