aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-12 22:51:51 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-12 22:51:51 +0800
commit4b4db3802a93f0a8a5d0acc061af245be4498f46 (patch)
tree3d422a5217b719ee7d5663f6fd02d11628ce4b66 /packages/website/ts
parent5eeb8489742eb0e51171bbb142c0a5d7d5c8fa56 (diff)
downloaddexon-sol-tools-4b4db3802a93f0a8a5d0acc061af245be4498f46.tar
dexon-sol-tools-4b4db3802a93f0a8a5d0acc061af245be4498f46.tar.gz
dexon-sol-tools-4b4db3802a93f0a8a5d0acc061af245be4498f46.tar.bz2
dexon-sol-tools-4b4db3802a93f0a8a5d0acc061af245be4498f46.tar.lz
dexon-sol-tools-4b4db3802a93f0a8a5d0acc061af245be4498f46.tar.xz
dexon-sol-tools-4b4db3802a93f0a8a5d0acc061af245be4498f46.tar.zst
dexon-sol-tools-4b4db3802a93f0a8a5d0acc061af245be4498f46.zip
Add esc support
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/@next/components/modals/modal_contact.tsx3
1 files changed, 2 insertions, 1 deletions
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>